RE: SUBST.EXE api

2007-09-08 Thread Reidar Sjoen
I don't recall how I got there, but it works without showing any DOS/Cmd boxes. I would imaging vfp run would also work. I cut it out of a generic RunDosCommand() function I use. Which gives me the most functionality I want with the minimum of fuss. --Reidar That looks pretty cool. I take it tha

RE: SUBST.EXE api

2007-09-08 Thread Lew
: ProFox Email List Subject: RE: SUBST.EXE api Lew, I culled this out of some code I use. This isn't an api, but it works well for me in vfp. hope it helps. --Reidar *SubstedDrivesArray(@aArray) * Returns number of substed drives * Fills in aArray[cDrive,cPath] * uses WSH,%Comspec% *NO

RE: SUBST.EXE api

2007-09-08 Thread Reidar Sjoen
Lew, I culled this out of some code I use. This isn't an api, but it works well for me in vfp. hope it helps. --Reidar *SubstedDrivesArray(@aArray) * Returns number of substed drives * Fills in aArray[cDrive,cPath] * uses WSH,%Comspec% *NO error checking lParameters aSubsted

SUBST.EXE api

2007-09-08 Thread Lew
Is there an api call that will return the current drive letter link list created by subst.exe? I'm rewriting a nightmarish concoction of layers of batch file for dos, 4dos, and 4nt which call fp26 style prgs and which run on a large network. The original programmer used net use & subst redirects