What is the %u command in all my programs command?
8,978
When you associate a file with a command, you can call this command with several arguments. %u simply means that the file name should go there. It is useful so you can put arguments after the filename. There are several other flags you can use.
Related videos on Youtube
Author by
The Student
Updated on September 17, 2022Comments
-
The Student over 1 year
I saw in my programs properties they have a "%u" in the end of the command, what does this do? Using Ubuntu 10.04.
e.g. My Chrome have the command: /opt/google/chrome/google-chrome %U for what this %u is used here?
-
user1686 almost 14 years
%u
is the GNOME's file URI (such asfile:///etc/motd
orsftp://foohost/home/tom/file.txt
).%s
would get you the "normal" file path. -
The Student almost 14 yearsIts not just in java programs that the %u appears