batch file is not working

cybermidas

New member
Local time
6:43 AM
Messages
6
I created a batch file with rasdial command....if i try to run it a command prompt window opens for a fraction of second and then nothing happens...i tried to run it as admin...still no change..
what do I need to do?
 

My Computer

OS
Windows 7
CPU
AMD
Motherboard
MSI
Memory
1Gb
Graphics Card(s)
nVidia 6150SE
Batch files run as command lines. They open up a DOS window and run then close the window. It's so fast you can't see what happens. If you want to watch while it's running or check for results, open a command prompt then go to the the directory where the batch file is and run it from the command line.
 

My Computer

Computer Manufacturer/Model Number
Dell C521
OS
W7 Ultimate 64bit W7 Premium 64bit W7 Premium 32bit WXP Home 32bit
CPU
Athlon 64X2 5000+
Motherboard
Dell
Memory
4GB
Graphics Card(s)
ATI X1300
Sound Card
On Board
Monitor(s) Displays
Dell 19" Flat
Screen Resolution
1280x1024
Hard Drives
500GB Western Digital Caviar Green
Mouse
Microsoft Wireless Intellimouse Explorer 2.0
Internet Speed
SBC DSL - 6Mbps
This what happens.....thought rasdial /disconnect is working...without using the ISP name....

i need to connect using rasdial...
 

Attachments

  • cmd.jpg
    cmd.jpg
    91.9 KB · Views: 692

My Computer

OS
Windows 7
CPU
AMD
Motherboard
MSI
Memory
1Gb
Graphics Card(s)
nVidia 6150SE
This what happens.....thought rasdial /disconnect is working...without using the ISP name....

i need to connect using rasdial...
try in putting pause between each line of code in the batch file...that way you will see what line is causing the command prompt to fail and quit
 

My Computer

Computer Manufacturer/Model Number
Compal JFT02 (Custom Build Laptop)
OS
Windows 7 Home Premium x64 - Mac OS X 10.6.4 x64
CPU
Intel Core 2 Duo T9300 2.5 GHz
Motherboard
JFT02
Memory
4GB Kingston DDR2-800
Graphics Card(s)
NVIDIA Geforce 8600M GT (512MB Model)
Sound Card
Realtek HD Audio
Monitor(s) Displays
WUXGA Standard Laptop Display
Screen Resolution
1680*1050
Hard Drives
Toshiba 320GB 5400RPM Laptop HD
PSU
Standard Laptop Power Supply
Case
Standard Laptop Case
Cooling
Standard Laptop Cooling
Keyboard
Standard Laptop 105 Key-Keyboard
Mouse
Synaptics Touchpad
Internet Speed
Verizion Online DSL 3360/864 kbs (dl/up)
Rasdial is not working....
i am though not sure what is wrong...
the same .bat file used to work in XP...
 

My Computer

OS
Windows 7
CPU
AMD
Motherboard
MSI
Memory
1Gb
Graphics Card(s)
nVidia 6150SE
You need to put the name is quotes since it contains blanks. That should fix you up.
 

My Computer

Computer Manufacturer/Model Number
Dell C521
OS
W7 Ultimate 64bit W7 Premium 64bit W7 Premium 32bit WXP Home 32bit
CPU
Athlon 64X2 5000+
Motherboard
Dell
Memory
4GB
Graphics Card(s)
ATI X1300
Sound Card
On Board
Monitor(s) Displays
Dell 19" Flat
Screen Resolution
1280x1024
Hard Drives
500GB Western Digital Caviar Green
Mouse
Microsoft Wireless Intellimouse Explorer 2.0
Internet Speed
SBC DSL - 6Mbps
okk...trying it now...
 

My Computer

OS
Windows 7
CPU
AMD
Motherboard
MSI
Memory
1Gb
Graphics Card(s)
nVidia 6150SE
thank you redbirddad!!!!!!
I really cant believe that I didnt knew that...



It was so simple and awesome....
and thank you zidane24 too
 

My Computer

OS
Windows 7
CPU
AMD
Motherboard
MSI
Memory
1Gb
Graphics Card(s)
nVidia 6150SE
No problem! :thumbsup:
 

My Computer

Computer Manufacturer/Model Number
Dell C521
OS
W7 Ultimate 64bit W7 Premium 64bit W7 Premium 32bit WXP Home 32bit
CPU
Athlon 64X2 5000+
Motherboard
Dell
Memory
4GB
Graphics Card(s)
ATI X1300
Sound Card
On Board
Monitor(s) Displays
Dell 19" Flat
Screen Resolution
1280x1024
Hard Drives
500GB Western Digital Caviar Green
Mouse
Microsoft Wireless Intellimouse Explorer 2.0
Internet Speed
SBC DSL - 6Mbps
Batch file not working

My batch file isnt working either. In the middle of running, it skips a big part of code and goes to the last few lines. Help?

Code:
echo Retrieving data...
ping 127.0.0.1 -n 2 -w 3000 > NUL
echo -e "2B5sfyZC9a1hCxO" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "76BE8Td6rhoaSw2" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "bJdyg2DqrX5Vrhu" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "nBP5XFV3Yx3hUVl" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "XdoeaztHyIEyNo8" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "a3g7SyplnnheVmm" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "BmNCi8WxjKqhlbG" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "841TpVEH4C8w8m4" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "1dtz30efXN0478f" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "8MkEojJJoOXLdyy" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "wXAIUlUQKGNtgSt" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "h8y9wm7cHH4Gq9W" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "9U5Bl68leoOqwiF" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "gXDWHOPsJtoemfL" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "MKJ1tPVfq7Tz2tX" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "CSJaG3cHZ43wMam" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "MFxdXdKzElpn6bU" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "L40U2TUT6ErH2zS" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "itF59WUQlaOKFLW" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "avy6UpI1cI9i8rb" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "x4UEIxEQp5rVg3d" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "n2ekSDwGWL5GUQr" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "RqQwLj36sYW8JBM" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "DlfbXFUpbaDN0EQ" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "IpKmmH1sPfpe227" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "VrXC9aXCRyetUIJ" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "gR32JA7gQIAgMrF" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "zgcIUEuD41xFBLZ" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "pXWbgLJmdUYAQPW" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "NkkdOm9v71oNWIU" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "ijY0nr43f9KBKUX" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "8k3yW2y4YDYeokn" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "D4HZCEfXLUaSSFx" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "Sl9Vk8t9luomy2L" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "c6pAymojXzGflrS" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "1QHHRyr8sGqrpbP" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "40t7L5KpyOcKHHK" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "Aj5ozkf01XrL6T4" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "ag7bgiDre7NOhXU" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "Tv2wAyWuIwCD2NE" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "huO3zqOhjgr2uMo" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "KK1CnDHMvQ744vL" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "0fkW3IYuvzyI2R0" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "C78t8C1POiUmX6H" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "DyQxl6TUjHCRtkR" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "7tISS1GJ8d9H1AT" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "Gtv9ghI47mmM4DT" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "VNlpGm21jrvTGHe" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "svgrOhj9K2rgaQX" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "kZu7FR7iXzMW1Mz" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "xuvSagbG1ZpdMM8" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "cycBtx891ExA5h7" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "43UeUFJ3ku3293G" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "l4ipTAbHjtPg10H" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "M6dTVh6OvMQrzEQ" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "81g2fQdKQPMubFI" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "oPM9QViQESqcypS" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "YB9CmvErKt59lkz" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "J45IVhrXNylVMEe" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "LomM1KsdxBcCNUE" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "J43lrrFR0xbmvse" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "Rax6GWBK7wrqP9u" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "GtcutnibAuGpOpV" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "vfqdJMZMhhjXIiN" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "DOtgQ96GSet71ac" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "h1KCdOIB05g3ady" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "HV2fCnN8lHk5IyR" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "dWelITnEWT6nhIE" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "PHa5Rti0srJ00BQ" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "VdlGRJoa2oVH2kb" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "CNeadlzQMhWivbU" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "xVbfaaD1aQzZSDB" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "Mudaj7v2giZqLV9" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "Uo3XDiu7GOWIaPX" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "a87V315LHC18roT" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "LRte4V8OhsHFmjf" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "7os7OUJcxobN0t2" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "5aS6PYmdAaRsKLt" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "lZtZFgK3orQgJga" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "wHs38VxTmFhlgq4" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "WaSoXCmzIh5QPvi" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "od6zUy24ctxUXUW" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "rzUUajp22O0Aice" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "IFrcMpEkFPlI4ar" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "7kzVzC7Niki32SW" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "0xKhKgHghiD6b4l" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "jffJ5kEo3xirwGn" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "mmSqamElfZ2qV3N" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "16GYZtNTJAGezm0" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "Y2baK2fK2Us05iw" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "79FmMiUVLKGQMtw" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "KP2Kc5vK3tl7YEo" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "NfzUVu4MjXnSURz" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "dBW2awVvBzD2mG8" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "W5uH9wIw7qbDFRL" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "bAjg5Z08M3oVpwj" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "LrfrENb15Abn9tW" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "k7Wf4KbrAfvi2h0" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "3FeaCrZUQW52ZLV" ping 127.0.0.1 -n 2 -w 1000 > NUL
echo -e "Kz46Su7MbjlOIUZ" ping 127.0.0.1 -n 2 -w 1000 > NUL
ping 127.0.0.1 -n 2 -w 8000 > NUL
echo Task complete
start chrome.exe
pause
exit
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
hp
OS
Windows 7 Home Premium 32bit
Antivirus
malware bytes
Browser
Chrome, Internet Explorer
Back
Top