Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 464
  • 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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