Jump to content

DriveMapAdd


 Share

Recommended Posts

I'm sort of afraid of trying this because I'm not exactly sure what I'm doing and I don't want to screw up my comp. With DriveMapAdd is it possible to have it host a CD? or a game disc?

If not is there any way to do this with autoit?

You're not likely to hurt your computer with the function DriveMapAdd(). All it does is map a local drive letter to a network share on another computer. It's the same as doing the following from a CMD console:

NET USE Q: \\OtherComputer\GameCD

If you have a CD in your local CDROM drive and want to share it so others can access it, this is not the right command. You want to create a share. From a script, the easiest way would be by running the DOS command:

Run("NET SHARE GameCD=D:\")

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...