Re: Windows API to attach, remove network shared drive
i need some cheap man solution,
basically, a simple interface that allow people to key in their secret passphrase, then the program will map his or her shared drive to windows Z drive,
the environment having several kinds of windows os, 7 home, xp, 7 pro, 8 and 10,
Just curious. What is the purpose of this? I mean, if connection is possible by means of some generic function, what would prevent anyone from calling it themselves without the need to run the program that asks for password?
Net use, net share, and disk part should cover what you need in the shortest amount of time. You can then wrap the commands or .bat file in a win app to provide a frontend or if you have enough time go straight to the winapi.
Ive uaed these a lot successfully for disk provisioning in virtualized environments along with psexec for remote access.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum