Dec 18, 2005 #1 Mike3333 Programmer Jan 18, 2005 32 US Can some tell me what is wrong with this? The -w switch is suppose to change the working directory, but it doesn't seem to be working. Shortcut Target = C:\Folder\File.fsl -w C:\Folder\
Can some tell me what is wrong with this? The -w switch is suppose to change the working directory, but it doesn't seem to be working. Shortcut Target = C:\Folder\File.fsl -w C:\Folder\
Dec 18, 2005 #2 TonyMcGuire Programmer Aug 17, 2004 692 US Place the -w and location for the working directory BEFORE the file to execute once you get there. And you need the path\exe for Paradox, not just the fsl. Something like "C:\Program Files\Corel\WordPerfect Office 2000\programs\pdxwin32.exe" -q -p c:\privdirs\ver9 -w c:\pdox\data start.ssl If you have spaces anywhere in the path/file following the executable, the command line options should be in quotes as well. By place the .fsl to open with before the '-w', Paradox is never seeing the -w and what follows. Tony McGuire http://www.thedbcommunity.com"It's not about having enough time. It's about priorities. Upvote 0 Downvote
Place the -w and location for the working directory BEFORE the file to execute once you get there. And you need the path\exe for Paradox, not just the fsl. Something like "C:\Program Files\Corel\WordPerfect Office 2000\programs\pdxwin32.exe" -q -p c:\privdirs\ver9 -w c:\pdox\data start.ssl If you have spaces anywhere in the path/file following the executable, the command line options should be in quotes as well. By place the .fsl to open with before the '-w', Paradox is never seeing the -w and what follows. Tony McGuire http://www.thedbcommunity.com"It's not about having enough time. It's about priorities.
Dec 19, 2005 Thread starter #3 Mike3333 Programmer Jan 18, 2005 32 US Thanks for your reply Tony. I put this in the shortcut and I get "Invalid Working Directory" Any ideas? "D:\Program Files\WordPerfect Office 11\Programs\pdxwin32.exe" -q -p C:\ParadoxTables -w C:\ParadoxTables\Clean1.fsl Upvote 0 Downvote
Thanks for your reply Tony. I put this in the shortcut and I get "Invalid Working Directory" Any ideas? "D:\Program Files\WordPerfect Office 11\Programs\pdxwin32.exe" -q -p C:\ParadoxTables -w C:\ParadoxTables\Clean1.fsl
Dec 19, 2005 #4 TonyMcGuire Programmer Aug 17, 2004 692 US -w C:\ParadoxTables clean1.fsl You need a DIRECTORY (folder for you younguns) for -w. Then a space. Then the file Paradox should start when it loads. Tony McGuire http://www.thedbcommunity.com"It's not about having enough time. It's about priorities. Upvote 0 Downvote
-w C:\ParadoxTables clean1.fsl You need a DIRECTORY (folder for you younguns) for -w. Then a space. Then the file Paradox should start when it loads. Tony McGuire http://www.thedbcommunity.com"It's not about having enough time. It's about priorities.
Dec 19, 2005 #5 TonyMcGuire Programmer Aug 17, 2004 692 US I missed it first time around. The -p sets the PRIVATE directory. This should NOT be your working directory. Also, you don't need a path along with the clean1.fsl since you will be starting in the directory containing that file. However, if you set the working directory to some *other* directory, you must include the full path to the file to start. You should start using aliases for everything. Then it won't matter where your working directory is. Tony McGuire http://www.thedbcommunity.com"It's not about having enough time. It's about priorities. Upvote 0 Downvote
I missed it first time around. The -p sets the PRIVATE directory. This should NOT be your working directory. Also, you don't need a path along with the clean1.fsl since you will be starting in the directory containing that file. However, if you set the working directory to some *other* directory, you must include the full path to the file to start. You should start using aliases for everything. Then it won't matter where your working directory is. Tony McGuire http://www.thedbcommunity.com"It's not about having enough time. It's about priorities.
Dec 19, 2005 Thread starter #6 Mike3333 Programmer Jan 18, 2005 32 US Thank you very much, Tony. Works perfectly. Upvote 0 Downvote