JSI Tip 5057. Logon scripts issue 'The current directory is invalid' error?

Jerold Schulman

March 27, 2002

1 Min Read
ITPro Today logo in a gray background | ITPro Today

When running your logon script, you receive:

The current directory is invalid.

The default current folder for a CMD prompt or logon script is the Home folder. If the mapping to the Home folder is deleted, this error will occur.

If your logon script contains net use * /d, you have deleted the mapping.

If you must use the net use * /d command in your script, make the first statement in your script:

C:



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like