Skip to main content
Known Participant
Jun 15, 2017 5:37 AM UTC
Answered

Can javascript create a folder within the path folder?

Can javascript create a folder within the path folder where all the files are contained?  How would I go about doing this?

So, if path folder is on C:\Users\susan\Desktop\pathfolder\.  How can I make it create a folder within pathfolder called "labeled" to where the processed files would save to?

I can't use b/c this does not take into account the current pathfolde within which I want to create the "labeled" folderr:

this.saveAs("/c/temp/temp.pdf");

this.saveAs("/c/MyDocs/" + this.documentFileName);

This topic is closed to new replies. Start a new post to keep the conversation going.
Bernd Alheit
Bernd AlheitCorrect answer
Community Expert
Jun 15, 2017 6:44 AM UTC

Acrobat JavaScript can't create or delete folders.

3 replies

Bernd Alheit
Community Expert
Bernd AlheitCommunity ExpertCorrect answer
Community Expert
Jun 15, 2017 6:44 AM UTC

Acrobat JavaScript can't create or delete folders.

Translate
Joel Geraci
Community Expert
Community Expert
Jun 15, 2017 2:14 PM UTC

...or even get a list of files within a folder.

Translate