Skip to main content
Known Participant
June 15, 2017
Answered

Can javascript create a folder within the path folder?

  • June 15, 2017
  • 1 reply
  • 1090 views

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 has been closed for replies.
Correct answer Bernd Alheit

Acrobat JavaScript can't create or delete folders.

1 reply

Bernd Alheit
Community Expert
Bernd AlheitCommunity ExpertCorrect answer
Community Expert
June 15, 2017

Acrobat JavaScript can't create or delete folders.

Joel Geraci
Community Expert
Community Expert
June 15, 2017

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