Link to home
Start Free TrialLog in
Avatar of chitchcock
chitchcockFlag for Canada

asked on

Creating %Temp% with a batch file

I use a program on one of my servers which nightly deletes the %temp% directory.  I need this recreated at system logon and I can do this in GPO scripts.  What would the batch file be?  Can we make it so if it sees the TEMP folder missing, it creates a new one?  The problem is, another program we run requires the TEMP folder to run properly.  For some reason, it doesn't automatically create it if its missing.  Please supply syntax.  Thank you
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chitchcock

ASKER

Thanks