Click to See Complete Forum and Search --> : wild cards
riyrse
December 11th, 2008, 05:56 AM
Hi Friends,
I need the proper wildcards for the following path.
C:\Documents and Settings\All Users\Start Menu\Programs
Can anyone send me the wildcards which would be run under run command ?
Thanks
Riyas.B
boudino
December 11th, 2008, 06:52 AM
Can you be more specific, or can you reformulate your question? I don't understood it at all and I'm affraid I'm not the only one.
riyrse
December 11th, 2008, 07:20 AM
I need the wildcard for following path:
for examlpe,
if we type %windir% in the run command, it eill lead us to C:Windows, like that i need the wildcard for followinf path..
C:\Documents and Settings\sumathi\Start Menu\Programs
Hope u understood
PeejAvery
December 11th, 2008, 08:30 AM
Why do you even need a wildcard? That is a static path. It does not change.
TheCPUWizard
December 11th, 2008, 08:39 AM
Me thinks he mean "Environment Variable". The simple answer it to just open a command prompt window, type "Set" and LOOK at all the ones that are available.
PeejAvery
December 11th, 2008, 10:01 AM
Environment variables are best viewed/controlled through System Properties ->Advanced (tab).
But, if you are accessing the All Users folder, you have no need for an environment variable. It is a static path to the All Users folder/subfolders.
TheCPUWizard
December 11th, 2008, 10:07 AM
Environment variables are best viewed/controlled through System Properties ->Advanced (tab).
But, if you are accessing the All Users folder, you have no need for an environment variable. It is a static path to the All Users folder/subfolders.
The drive letter can easily be different, so it is NOT a fully static path!
boudino
December 11th, 2008, 10:29 AM
I've checked it formely, but this path is not there. And the last part Start Menu\Programs can vary on locale set, so composing it from %USERPROFILE% and constant is not the way.
riyrse
December 11th, 2008, 11:04 PM
ya this is static path only,
IF i use this in non english OS, it's not working
boudino
December 12th, 2008, 03:57 AM
If I'm right, path like this are accessible in installer, so one solution could be to create a liitle MSI project, which would detect the path and write it to some well-known place, e.g. in config file or registry.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.