flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
donn 01 Mar 2018, 19:15
Probably this, which works since Win 2000.
If you need something more manual, maybe Code: net use z: \servername\sharedfolder /persistent:yes References: https://stackoverflow.com/questions/182750/map-a-network-drive-to-be-used-by-a-service https://stackoverflow.com/questions/20883224/using-windows-net-use-command-from-java-with-win32-api Good luck. |
|||
![]() |
|
DimonSoft 01 Mar 2018, 22:10
sleepsleep wrote: i need some cheap man solution, 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? |
|||
![]() |
|
sleepsleep 02 Mar 2018, 17:15
i need drive mapping with user password authentication that not based on Windows users, it should works in non professional edition windows os,
if it possible to create virtual users to connect password protected shared drive? idk, basically that is what i intended to solve, hopefully with volume size controlled, so users log on Windows as usual, run my program, input password, then his/her shared drive will get mapped, when log out, or exit windows, the shared drive will be unmapped, is there any solution like this already, so i don't have to reinvent the wheel, |
|||
![]() |
|
sleepsleep 02 Mar 2018, 21:35
after some google, maybe a webdav is better solution?
|
|||
![]() |
|
donn 02 Mar 2018, 23:38
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. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.