PB/win 8.04 won't open a shortcut file for input, output, or append. For example, if I use NotePad to create a file named "input.txt" in directory1, and use Windows Explorer (in Windows XP Professional) to create a shortcut to that file and move it to directory2 (which also contains my PB/win 8.04 program), then my program will not access the shortcut file.
My program has the following line:
OPEN "input.txt" FOR INPUT AS filenum
while my program's directory contains a shortcut to input.txt. The program will not open the shortcut file. This is also true when using APPEND in the OPEN statement.
When trying to output, with the original file in another directory and a shortcut to that file in the directory containing the program, the program creates another output file distinct from the shortcut but with the same name. For example, the directory will now contains output.txt and a shortcut to output.txt, which are actually different files with different contents.
My program has the following line:
OPEN "input.txt" FOR INPUT AS filenum
while my program's directory contains a shortcut to input.txt. The program will not open the shortcut file. This is also true when using APPEND in the OPEN statement.
When trying to output, with the original file in another directory and a shortcut to that file in the directory containing the program, the program creates another output file distinct from the shortcut but with the same name. For example, the directory will now contains output.txt and a shortcut to output.txt, which are actually different files with different contents.
Comment