troubleshooting Question

VBSCript and %userprofile% - File NOt found

Avatar of compdigit44
compdigit44 asked on
VB Script
64 Comments1 Solution1330 ViewsLast Modified:
I am try to write a script that will drop a log file at the root of the user's profile using %userprofile%

I searched online on how to do this but still no luck.

 What is the proper syntax I need to reference %userprofile% and drop a file with a predefined name in this location.
Joe Howard

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 64 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 64 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros