Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Batch file code has problems.

02 Apr 2013   #1
biblerule

Windows 7 Home Premium 32bit
 
 
Batch file code has problems.

My batch file isnt working. 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 System SpecsSystem Spec
.
02 Apr 2013   #2
UsernameIssues

W7 Pro SP1 64bit
 
 

Code:
echo off
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
~~~~
My System SpecsSystem Spec
02 Apr 2013   #3
Ztruker

Windows 10 Pro X64
 
 

What does the -e do? I can't find any info on it.
My System SpecsSystem Spec
.

17 Aug 2013   #4
biblerule

Windows 7 Home Premium 32bit
 
 
Thanks

Thank you...
My System SpecsSystem Spec
17 Aug 2013   #5
andrew129260

Windows 10 Pro
 
 
Great question.

Quote   Quote: Originally Posted by Ztruker View Post
What does the -e do? I can't find any info on it.
I don't know ether.

Command-line reference A-Z

Was not even in there....
My System SpecsSystem Spec
17 Aug 2013   #6
UsernameIssues

W7 Pro SP1 64bit
 
 

My guess is that the -e is just text that the OP wants to be echoed. It is not a switch.
My System SpecsSystem Spec
17 Aug 2013   #7
Ztruker

Windows 10 Pro X64
 
 

Remove the re-direct to nul (> NUL) and see what messages you get when you run it, that may tell you what is happening.
My System SpecsSystem Spec
Reply

 Batch file code has problems.




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
I need a batch file to open a random file within a certain folder/path
I want a batch to select and open a random link file in a folder i have. All the links are music videos I like to listen to, and I kind of want to just have an option for 'surprise me!'. I can change the file names if I have to, and I have a basic batch file ability. I know the simple commands,...
General Discussion
How to run a batch file at logoff & some batch scripting help please
Hiya, I'd just like to run a simple batch file at logoff to backup some settings. I plan to use Robocopy, which is what i use to more thorough backups. Two questions: 1. How make it run by clicking Start > Shutdown? (i realise i could make a shutdown batch file and run it instead, but i'd...
Backup and Restore
Batch File that grabs file names from folder to insert into batch file
Ok I'm totally at a loss on how to word this so I'm just going to write it out the best that I can... :confused: First I have a batch file that I'm writing that will convert mp4 files to mp3 files (I have a lot) for a buddies band using ffmpeg. Here's the code that I'm using: ffmpeg -i...
General Discussion
Please help with batch or VBS file code
Hello folks, I really need some help. I have been trying a number of ways but do not have enough experience or knowledge of the code for this. I am trying to create a batch file or VBS file that can change this: C:\Downloads\Albums\Work Folder\Album - January\Random Junk Subfolder\Multiple...
General Discussion
batch file open file for program in the startup folder
I have a computer that is a drone specifically for an outside LED sign. This computer is designed to never shut off and doesn't have any other program on it besides Operating System and the sign software. I need to create a batch file that I can place in the "start-up" folder that will open the...
General Discussion
How to create a batch file that will move files based on the file type
How to create a batch file that will move files based on the file type? My Requirement : I need a batch file to copy all .doc files in all my HardDisk to a removable disk say (Z: drive) . Can anyone make it possible using a batch file?Please...Its urgent...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 18:07.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App