General discussion

Locked

logon script

By gulandio ·
I need to make a batch file that will check two things. First,if the environmental variable is being set. I know you can do this with the set command but i do not need all those results. second i need to check the hkcu\temp and tmp.
If these do not exist Iwant to be able to set them, if they do exist I do not want to do anything. what commands should I use to make this happen? should I utilize just set or can i blast it with regkey?

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

logon script

by nbotes In reply to logon script

If these are enviro you can check the with a IF

So you would use
IF DEFINED enviro goto donothing
set enviro

:donothing

Back to Networks Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums