get current directory problem
Posted: Thu Mar 17, 2022 4:43 pm
just one line code
---------
showmessage dir$("@")
copy the compiled showcd.exe to c:\windows\
run in cmd line:
>d:
d:\>showcd
message box result: d:\
but when run showcd with param, e.g.
d:\>showcd hello
result is c:\windows
problem is how to get exact current dir when running with cmd param?
thanks
---------
showmessage dir$("@")
copy the compiled showcd.exe to c:\windows\
run in cmd line:
>d:
d:\>showcd
message box result: d:\
but when run showcd with param, e.g.
d:\>showcd hello
result is c:\windows
problem is how to get exact current dir when running with cmd param?
thanks