I checked "aset -h" and "aset -H" and there is no word about internal fdrive command.
That's ok. More information about the internal commands/functions of Aset can be retrieved by reading the file 'aset.doc' (this is an ascii text-file, although it has a doc-extension).
The -h and -H parameters only summarize some basic program usage.
It works for me (using win98). Maybe you could try another batch-string utility that gets the current drive-letter into a variable.
Well, there is %commander_path% variable so there is absolutely no use for workarounds anyway.
If you need more comfort there are enough 32-Bit TC starters available, 16-Bit code has to be emulated using ntvdm.exe under NT, bad solution.
So, aset may be nice under DOS/W9X but it's not suited under modern OSes.
Ok, Thanx. I like bat-files for their ease and versatility.
After visiting robvanderwoude.com I learned that the trick is also possible using only 1 bat-file (you may change the last two lines to your appropriate directories).
@ECHO OFF
CD | CHOICE /N /C:ABCDEFGHIJKLMNOPQRSTUVWXYZ SET CURDRIVE=>%TEMP%.\CURDRV$.BAT
FOR %%A IN (CALL DEL) DO %%A %TEMP%.\CURDRV$.BAT
ECHO. %CURDRIVE%
cd\totalcmd
Totalcmd.exe %curdrive%:\ %curdrive%:\
I use batches myself but I don't create them to make things more complicated than they actually are. Maybe we are talking at cross purposes? I don't understand what your intention is with the batch file you just posted, reinventing the wheel?
FYI:
There is no "choice" command under 2000/XP.
32 Bit is no synonym for "GUI application".
I use batches myself but I don't create them to make things more complicated than they actually are. Maybe we are talking at cross purposes? I don't understand what your intention is with the batch file you just posted, reinventing the wheel?
Could you also make a bat-file using %commander_path% with the panels set to the root of the (relative) drive (or any other directory outside the commander path)? (that was my intention).