Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to get for your free account now!
Batch File Test
Name: iamwec Date: November 9, 2008 at 16:51:07 Pacific OS: Windows XP Pro + SP3 CPU/Ram: 2.4 GHZ / 512 MB SD Manufacturer/Model: Dell Dimension 2400
Comment:
I am making a test in notepad and saving it as a batch file to use. I haven't had any problem writing and testing up until now. I was fixing all the problems in the file in Notepad. I saved often and tested every time I saved. Now I can't test the file. When I first try and open it up, I get an error that says "The Syntax of the Command is Incorrect." I don't know what the heck I did wrong. Could someone please look at this part of the file? This is all that I edited before the last save.
@echo off :D cls echo. echo __________________________ echo | _____ | echo || | ***** / | echo || | * | | echo || /\ | *** | | echo || / \ | * | | echo ||/ \| ***** \_____ | echo |________________________| echo. echo Welcome to WEC's test by WEC echo Do you wish to play this game? echo. echo Yes or No? echo. set input= set /p input=Please type in a for Yes or b for No and press "Enter". if %input%==a goto Y if %input%==b goto N
I added the big "WEC" sign before this happened. If I need to post more of the file, just say so.
William E C I AM WEC!!! "No waste of time here, just a hell of a lot of fun!" -Me
Name: Razor2.3 Date: November 9, 2008 at 17:08:43 Pacific
Reply:
I don't know what the heck I did wrong. Step 1: Remove @ECHO OFF. Then you'll know where your error was. Actually, 75% - 80% of my scripts never turn ECHO off.
Summary: Hi The vbscript checks all the drives on the computer including cdroms dvd's zip dreives ect: If the file Batch file Test.bat exists on any of these drives in the root directory then its executed. I...
Summary: I'm trying to create a batch file that will delete a files by a certain name. The files will all be similar to this. a20081010.txt or a20081011.txt or a20081012.txt... etc. Then if the files are old...
Summary: Hi, I have a batch file which has 2 input argument. This batch file calls another vbscript where again 2 parameter needs to be passed. This parameter is modified value of the one that are passed to ba...