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.
batch file login script
Name: Chris Date: July 22, 2002 at 07:19:43 Pacific
Comment:
What aould be the exact sysntax to use for a simple batch login script to delete the files and folders of a temp folder. I know that the command deltree /y c:\windows\temp\*.* will be the main line in the batch file. I am not sure on how to start and end the script.
Name: michdaugh Date: July 22, 2002 at 19:22:47 Pacific
Reply:
DOS batch doesn't require any special declarations or program sections like other programming languages. If the deltree command is all you want the batch file to do, then that's all the file has to contain. Think of a batch file as just an automated way to 'type in' dos commands. It really doesn't do much more than that, other than some flow control, variable assignments and rudimentary error checking.
Summary: Is there any way to get the %time% variable to display as 1340 for example, rather than 13:40:24? Here is basically what I'm trying to do: The goal is to copy a file, in this case AppEvent.evt, to a d...
Summary: I understand that XP's command prompt isn't true DOS, but I'm sure the batch file commands will still apply. Here's my question: I want to copy a directory from an XP box to my file server everytime ...
Summary: I am replicating batch files (logon scripts) from PDC to BDC.I want to identify which server is performing the validation.Here is what i have so far... echo The validating server is %COMPUTERNAME% I t...