Chdir & 5.6
GCC Consulting
gccconsulting at comcast.net
Wed Nov 22 08:23:34 PST 2006
Not sure if this is the correct action for chdir or a bug
I did the following
If: 'drive letter"
Then: xx=getenv("pfdata");sl=chr("92")
If:
Then xy=xx{sl{"foobar"
If:
Then: chdir xy
If:
Then: system batch.bat
Starting on drive W:\gcc
When batch.bat ran and I had it do a directory listing, it was in the root
directory of xx not in xx\foobar.
Now if is hard coded this
If:
Then: chdir "t:\foobar"
And ran batch.bat, I was in the proper directory.
Apparently chdir doesn't accept variables.
Is the correct?
I have worked out a solution to this problem for testing on my system and
for actual use on a client's system.
Richard Kreiss
GCC Consulting
More information about the Filepro-list
mailing list