J
Joe User
Guest
I have two related questions. I am using Win XP SP3.
1. How do I know what program (folder and file name) is executed when I
click on shortcut?
For some shortcuts, the answer seems self-evident: right-click on the
shortcut icon, click on Properties, and look at Target in the Shortcut tab.
But for other sortcuts, e.g. Excel, the Shortcut tab does not tell me
anything useful.
I don't know if the shortcuts for Office 2003 (or perhaps all MS) products
are a special case. Even if they are, I am interested in knowing how to
find the real "target" for those shortcuts, too.
I know that I can search for, e.g., excel.exe. But what if I have multiple
files with that name on my system, and/or for some reason I don't trust my
assumptions about which file the shortcut is actually linked to?
2. When I execute a program from the DOS prompt (Start > Run > cmd), how can
I determine the full path (folder and file name) that is executed?
When I execute a program from the Start > Run window, how can I determine
the full path (folder and file name) that is executed?
I am surprised to find that those are not identical. For example, I can
execute `excel` from Program > Run, but not from Start > Run > cmd. Yet I
can execute `telnet` from either. What's up with that? Again, are Office
2003 (or all MS) products simply a special case?
I know that the PATH environment is used, at least for DOS prompt execution.
How do I know the actual path in which the program was found? (Without
trying each path myself.)
Also, if I enter only the basename (e.g. telnet instead of telnet.exe), I
believe that at least two extensions are tried, .exe and .bas. (There might
be others, AFIK.) How do I know the actual file name (extension) that was
used? (Without trying each one myself.)
Basically, I want to know what tools I can use to troubleshoot the
unexpected if/when it arises.
1. How do I know what program (folder and file name) is executed when I
click on shortcut?
For some shortcuts, the answer seems self-evident: right-click on the
shortcut icon, click on Properties, and look at Target in the Shortcut tab.
But for other sortcuts, e.g. Excel, the Shortcut tab does not tell me
anything useful.
I don't know if the shortcuts for Office 2003 (or perhaps all MS) products
are a special case. Even if they are, I am interested in knowing how to
find the real "target" for those shortcuts, too.
I know that I can search for, e.g., excel.exe. But what if I have multiple
files with that name on my system, and/or for some reason I don't trust my
assumptions about which file the shortcut is actually linked to?
2. When I execute a program from the DOS prompt (Start > Run > cmd), how can
I determine the full path (folder and file name) that is executed?
When I execute a program from the Start > Run window, how can I determine
the full path (folder and file name) that is executed?
I am surprised to find that those are not identical. For example, I can
execute `excel` from Program > Run, but not from Start > Run > cmd. Yet I
can execute `telnet` from either. What's up with that? Again, are Office
2003 (or all MS) products simply a special case?
I know that the PATH environment is used, at least for DOS prompt execution.
How do I know the actual path in which the program was found? (Without
trying each path myself.)
Also, if I enter only the basename (e.g. telnet instead of telnet.exe), I
believe that at least two extensions are tried, .exe and .bas. (There might
be others, AFIK.) How do I know the actual file name (extension) that was
used? (Without trying each one myself.)
Basically, I want to know what tools I can use to troubleshoot the
unexpected if/when it arises.