Jump to content

merge %username% and @domain

Recommended Posts

Trying to find a solution to merge the current logged on user and the domain. Example..."jblow@somecompany.com".

So I have this program that stores users appdata in a location like this example: C:\Users\%username%\AppData\Roaming\Mozilla\Firefox\Profiles\5gvslrwv.default\mynamel@somecompany.com\samplefile.txt.


I wanted to run a command line to verify if the samplefile.txt exists. But cannot get past the myname@somecompany.com.


Any guidance is appreciated. Please no jerky responses.....just guidance.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now