Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


How to get full path of a folder from tilde "~" abbreviation?

Explorer ,
Nov 01, 2021 Nov 01, 2021

Copy link to clipboard

Copied

A path name can start with a tilde (~) to indicate the user’s home directory.

How to get full path instead of this tilda abbreviation?

So how to convert  ~\Desktop into  C:\Users\user\Desktop?

 

TOPICS
Actions and scripting, SDK

Views

39

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , Nov 01, 2021 Nov 01, 2021
File('~\desktop').fsName

Likes

Translate

Translate
Adobe Community Professional ,
Nov 01, 2021 Nov 01, 2021

Copy link to clipboard

Copied

 

File('~\desktop').fsName

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 01, 2021 Nov 01, 2021

Copy link to clipboard

Copied

LATEST

Thank you!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines