Hello all,
I'm the author of a program called AutoStar for Microsoft Flight Simulator. I'm using Visual Basic 5.
A user informed me of a problem. He uses Windows Vista (I use XP). It turned out that my program could not write a file to a location if there were spaces in the path. I had the idea of using a batch file to get over this problem. A typical example:
copy c:\fsx\stars.dat C:\Programs\Microsoft Games\Microsoft Flight Simulator X\stars.dat
This batch file works fine on my XP system but not on his Vista system. He found that it did work when using it to copy a file to a location with no spaces in the path.
We tried putting the path with spaces inside quotation marks, but no joy.
Does anyone have any ideas? Is there a known problem with spaces in paths when using Vista?
Many thanks,
Chris
I'm the author of a program called AutoStar for Microsoft Flight Simulator. I'm using Visual Basic 5.
A user informed me of a problem. He uses Windows Vista (I use XP). It turned out that my program could not write a file to a location if there were spaces in the path. I had the idea of using a batch file to get over this problem. A typical example:
copy c:\fsx\stars.dat C:\Programs\Microsoft Games\Microsoft Flight Simulator X\stars.dat
This batch file works fine on my XP system but not on his Vista system. He found that it did work when using it to copy a file to a location with no spaces in the path.
We tried putting the path with spaces inside quotation marks, but no joy.
Does anyone have any ideas? Is there a known problem with spaces in paths when using Vista?
Many thanks,
Chris