• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 463
  • Last Modified:

I want to send out a file path to other users.

I want to send out a file path to other users.

How do I make the user name generic...

For example:

C:\Users\%Username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

P.S is "generic" the right expression?
0
Mr_Shaw
Asked:
Mr_Shaw
  • 4
  • 2
  • 2
2 Solutions
 
Neil RussellTechnical Development LeadCommented:
What are trying to do? What do you mean mean by "Send out a file path"? How? What in? In a script? A .CMD file? A group policy?
0
 
Mr_ShawAuthor Commented:
No, just in an email..

0
 
Neil RussellTechnical Development LeadCommented:
No, not as a plain link in an email I dont think you will be able to.
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
sam0x01Commented:
On a local network file://server/share/folder/subfolder/file.ext should work. there may need to be more '/' chars preceding server
0
 
sam0x01Commented:
looking more closely at the question, I doubt that a browser will expand an environment variable
0
 
Mr_ShawAuthor Commented:
No, the file path is for a user local machine.
0
 
Mr_ShawAuthor Commented:
Here the solution

C:/Users/%username%/AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
0
 
Mr_ShawAuthor Commented:
Thanks
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 4
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now