Cannot get -f command line option to work

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
lontjr
Posts: 8
Joined: Wed Feb 06, 2013 2:26 pm

Cannot get -f command line option to work

Post by lontjr »

I'm sure it's something I'm missing, but the following in a Windows 8.1 shortcut does not work

"C:\Program Files\TextPad 7\TextPad.exe" -f "C:\Users\Lon\Dropbox\config\Textpad"

My intention is to use the dropbox folder as a common area for configuration items. But the argument is treated as a relative path, not absolute, so the message on opening textpad is

C:\Program Files\TextPad 7\C:\Users\Lon\Dropbox\config\TextPad
The filename, directory name or volume label syntax is incorrect.
lontjr
Posts: 8
Joined: Wed Feb 06, 2013 2:26 pm

Post by lontjr »

Not many answers here.

This works, can't say it's particularly pretty, and there's still either a bug or I'm doing something wrong..

"C:\Program Files\TextPad 7\TextPad.exe" -f "..\..\Users\Lon\Dropbox\config\Textpad\"
miked
Posts: 60
Joined: Tue Feb 27, 2007 11:17 am

Post by miked »

I would say it's a bug. The help for command line parameters states "If the folder pathname is not absolute, it will be relative to the folder containing TextPad.exe" which suggest an absolute path should be allowed.

What happens if you use %USERPROFILE%\Dropbox\config\Textpad\ ?
lontjr
Posts: 8
Joined: Wed Feb 06, 2013 2:26 pm

Post by lontjr »

Good thought, but same results, the symbol expands and gives the same error message.
Post Reply