Results 1 to 4 of 4
  1. #1
    5 Star Lounger
    Join Date
    Aug 2001
    Location
    NY, NY, USA
    Posts
    654
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Substitute OS command

    Under win 2000 professional and / or XP can we use subst command in the autoexec or config like the old days. I want to make say a f drive to mirror the c drive. So that one of my programs thinks it is running on a server and can be opened more than once versus having it on a server and having to use a second computer to access it multiple times.
    Jerome

  2. #2
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Substitute OS command

    Try using the
    net use
    command.

    See: 218740 - Cannot Use Subst.exe with UNC Path

  3. #3
    5 Star Lounger
    Join Date
    Aug 2001
    Location
    NY, NY, USA
    Posts
    654
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Re: Substitute OS command

    Thank you, I read the article just now.
    Do I put it in the config or autoexec and I can't have it automatically pick a letter to map as I need it constant
    Do I put net use c: e:?????
    Jerome

  4. #4
    4 Star Lounger
    Join Date
    Aug 2002
    Location
    Dallas, Texas, USA
    Posts
    594
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Substitute OS command

    Yes, you can use the SUBST command in 2000. (I'm sure it's available in XP too, since XP is based on Windows 2000).

    Instead of using it in an AutoExec.bat file, just put it in a login script. (or put it in a batch file and then put it in the Startup folder).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •