-1

I need to create a public folder, shared with everyone from an application in java

JuveNCX
  • 27
  • 3

1 Answers1

0

Create batch file

@echo off E: ==>select drive(I used E drive), wher you want create a folder mkdir test1 ==>you need to make a folder before to share and name it (ex:test1) net share test1=E:\test1/GRANT:domain\username,full ==>share the folder using net share command Pause ==> final step

and execute in java

How do I run a batch file from my Java Application?

JuveNCX
  • 27
  • 3