Torna indietro   Hardware Upgrade Forum > Software > Microsoft Windows > Microsoft Windows 95,98,ME,NT,2000,XP,2003

OPPO Watch X2 Mini, lo smartwatch compatto a cui non manca nulla
OPPO Watch X2 Mini, lo smartwatch compatto a cui non manca nulla
OPPO Watch X2 Mini è uno smartwatch compatto capace di offrire un'esperienza completa di monitoraggio della salute e fitness con una cassa da 43 mm che può adattarsi a qualsiasi tipo di polso, dal più grande al - soprattutto - più piccolo. Con l'architettura dual-chip e un'autonomia che può coprire due giorni con tranquillità, rappresenta la soluzione ideale per chi cerca prestazioni premium in un formato ridotto.
Xiaomi 15T Pro, è lui il nuovo best buy? La recensione
Xiaomi 15T Pro, è lui il nuovo best buy? La recensione
Dopo il recente lancio della serie Xiaomi 15T di Monaco, vi parliamo oggi della versione più performante della nuova famiglia, ovvero Xiaomi 15 T Pro. Vi raccontiamo la nostra prova nel dettaglio, spiegando perché a questo prezzo e in questa fascia, questo smartphone ha davvero senso tenerlo in seria considerazione.
Acer TravelMate P6 14 AI: il Copilot+ PC sotto il chilo per il professionista in movimento
Acer TravelMate P6 14 AI: il Copilot+ PC sotto il chilo per il professionista in movimento
Acer ha ampliato la sua offerta professionale con il TravelMate P6 14 AI, un notebook ultraleggero e robusto pensato per chi lavora in mobilità. Certificato Copilot+ PC, combina design premium, autonomia elevata e piattaforma Intel Core Ultra Serie 2 con funzionalità AI, garantendo sicurezza, affidabilità e produttività per l'utenza business moderna.
Tutti gli articoli Tutte le news

Vai al Forum
Rispondi
 
Strumenti
Old 27-06-2006, 17:45   #1
ticket
Junior Member
 
Iscritto dal: Jun 2006
Messaggi: 1
pc to mobile phone (batch file)

Ciao tutti,

sorry for writting this post in english, but I can't do it in italian.

Here is my problem:

I need my PC to call my mobile phone through a dial-up connection, when certain event occures.
For that purpose I've created an internet connection (although i don't really need internet), with blank for username&password, and just my mobile phone number.

Than I wrote a batch file:

DIAL.bat
Codice:
@ECHO OFF

:loop
Echo Trying to Dial up..................................
rasdial MyMobile

if NOT %ERRORLEVEL% ==0 goto failed

Exit
:failed
cls

Echo Failed to connect......will retry

goto loop

..but the problem with this script is, it can't stop calling (can't exit the loop).

So, if I answer the call (on my mobile) and subsequently close the connection (this is what I need, just to be noticed about certain event on my PC), this script starts to call again, and loops until I answer again, and so on, over and over.

Than I tried the following TEST.bat script, to establish a reason for this malfunction :

TEST.bat
Codice:
@ECHO OFF

Echo Trying to Dial up..................................
rasdial MyMobile

Echo The error level is %ERRORLEVEL%

pause
..and i've got:

Codice:
Trying to Dial up..................................
Connecting to MYMOBILE...

Remote Access error 676 - The phone line is busy.

For more help on this error:
        Type 'hh netcfg.chm'
        In help, click Troubleshooting, then Error Messages, then 676
The error level is 676
Press any key to continue . . .
..although the phone line apparently was not busy.

The reason for that (i think) is the script can't get %ERRORLEVEL% ==0 value, because %ERRORLEVEL% ==0 probably means a connection with another modem is established, means handshake process is accomplished successfully.
In my case, i don't have any modem on the other side, but just my mobile, so %ERRORLEVEL% will be <>0 in any way, thus script will not leave the loop.

Is there some workaround to exit outside the loop when I answer my mobile phone?
Can modem notice that called phone doesn't ring anymore?


Mille grazie
ticket è offline   Rispondi citando il messaggio o parte di esso
 Rispondi


OPPO Watch X2 Mini, lo smartwatch compatto a cui non manca nulla OPPO Watch X2 Mini, lo smartwatch compatto a cui...
Xiaomi 15T Pro, è lui il nuovo best buy? La recensione Xiaomi 15T Pro, è lui il nuovo best buy? ...
Acer TravelMate P6 14 AI: il Copilot+ PC sotto il chilo per il professionista in movimento Acer TravelMate P6 14 AI: il Copilot+ PC sotto i...
ASUS NUC 15 Pro e NUC 15 Pro+, mini PC che fondono completezza e duttilità ASUS NUC 15 Pro e NUC 15 Pro+, mini PC che fondo...
Cybersecurity: email, utenti e agenti IA, la nuova visione di Proofpoint Cybersecurity: email, utenti e agenti IA, la nuo...
Il Garante della Privacy ha bloccato Clo...
C'è un nuovo operatore virtuale s...
Google Chrome non si ferma più: &...
Tenstorrent produrrà chip nelle f...
Tutte le offerte HOT di Amazon: Galaxy S...
Dreame L40 Ultra AE: il nuovo robot aspi...
Fesseria totale: c'è chi demolisc...
Super TV in saldo su Amazon: Mini-LED, O...
Fast Motion Response: la nuova funzional...
Xiaomi Redmi Note 14 Pro a 219€, un supe...
Cybertruck: Tesla accusata per la morte ...
Xiaomi SU7 si sposta dal sola: lo spaven...
Huawei Ascend 910C: componenti TSMC, Sam...
Mai costate così poco: cuffie Son...
Apple Watch SE 2 scende a 199€ su Amazon...
Chromium
GPU-Z
OCCT
LibreOffice Portable
Opera One Portable
Opera One 106
CCleaner Portable
CCleaner Standard
Cpu-Z
Driver NVIDIA GeForce 546.65 WHQL
SmartFTP
Trillian
Google Chrome Portable
Google Chrome 120
VirtualBox
Tutti gli articoli Tutte le news Tutti i download

Strumenti

Regole
Non Puoi aprire nuove discussioni
Non Puoi rispondere ai messaggi
Non Puoi allegare file
Non Puoi modificare i tuoi messaggi

Il codice vB è On
Le Faccine sono On
Il codice [IMG] è On
Il codice HTML è Off
Vai al Forum


Tutti gli orari sono GMT +1. Ora sono le: 05:00.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Served by www3v