Archive: Setting up a empty virtual directory


Setting up a empty virtual directory
hi all,

How do to set up a empty virtual directory pointing from the local machine??

Example:

{Local Machine}\TimeTable

How to create just a empty TimeTable directory for sharing??


Hi Alstom,
Are you looking for IIS virtual directory?


Wat is a IIS virtual directory??

I want to create a new shared folder to use for LAN usage in a office.

when user click the computer local name, it should point to the shared folder.


First create the folder you want to share on the target machine (use CreateDirectory), then try using ExecDos, nsExec or ExecCmd to call net share to generate the share on the network (a simple net share /? in a command prompt will show you how the syntax works)

Alternatively you can use the System plugin to call the NetShareAdd function from Netapi32.dll but this may become tricky if you want to use it on a Win9x machine.

Hope this helps

CF