Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Errorlevel
Name: Samuel Lourenco Date: September 26, 2002 at 06:37:48 Pacific OS: Windows 98 CPU/Ram: 200 MMX 40MB
Comment:
I want to know if copy command can generate errorlevel.
I made the following in Batch: copy Morfit.dll C:\WINDOWS\System if errorlevel 1 echo Copy error: 'System' directory in may be locked.
I write protected system folder and then ran the batch. But message didn't apeared.
Summary: I want to copy a file IF it's newest with swtich /d with a message to user like ECHO New file copied. Is there any errorlevel that can tell me whitch file that is newest? ...
Summary: Batch files are not good for password requests. That's because the password will have to be on the source code, so anyone can edit the batch file and see what is the password! Anyway, here goes a batc...
Summary: Does ftp have exit values (errorlevel) codes. That I can test for in a batch file that will tell me if it was successful or not. I'm using NT4.0...