Skip to main content
Question

I wanna get C:drive path. How can I store it in a variable?

  • December 4, 2024
  • 1 reply
  • 23 views

Forum|alt.badge.img+1
  • Cadet | Tier 2
  • 4 replies

Hey, I want to get the C: drive path. How can I store it in a variable? For example, I’d like to use it to move,copy or create files. If I can store it, I’d love to use it to designate files.

 

1 reply

Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+10
  • Automation Anywhere Team
  • 539 replies
  • December 5, 2024

Not 100% sure what you’re asking, but try these:

Working Directory: $SystemVariablesPackage:UserWorkingDirectory$

Home Directory: $SystemVariablesPackage:UserHomeDirectory$

Downloads Directory: $SystemVariablesPackage:UserDownloadsDirectory$ 

Put that into a Message Box action and see if one of those system variables does what you need. Each of those system variables returns a string.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings