Search : in
By :

Create a subfolder under a folder

Last answer on Sep 9, 2009 3:41:47 am BST rose, on Sep 8, 2009 4:59:44 am BST 
 Report this message to moderators

Hello,
I need to add my reports to excel. SO first i need a create a folder in d drive and then save my reports. I can save directly in d drive. But i cant create a folder through java program.How to get a name for folder from user and create folder in that name.

Configuration: Windows XP
Firefox 3.0.13

Best answers for « Create a subfolder under a folder » in :
Firefox - Finding the profile folder ShowFirefox - Finding the profile folder Windows 9x/Me : C:\Windows\Application Data\Mozilla\Firefox\Profiles\< Profile Name >\ or C:\Windows\Profiles\\Application Data\Mozilla\Firefox\Profiles\< Profile Name...
How to play mp4 on a PSP 3000? ShowHow to play mp4 on a PSP 3000? How to play mp4 on a PSP 3000? Solution On the Memory Stick in PSP, create a folder named "MUSIC".Simply add your Mp3 to this folder. On the memory stick, next to PSP, create "MP_ROOT" Then...
Creating an Autorun.inf file ShowCreating an Autorun file Allowing autorun Creating an Autorun.inf file Variations Customizing the icon Customizing the icon text Customizing the icon menu Allowing autorun Windows provide users with simple utility that runs...
Download New Folder Wizard ShowNew Folder Wizard is the tool which allows you to create thousands of folders easily and quickly. Its options include: - folder numbering, - prefix and suffix text, - zero padding, - the use of text file as folder name source. New Folder...
Download PDF Creator ShowSupports Windows 7 Beta PDFCreator is a free tool to create PDF files from almost any application that can print. It also possesses options of security allowing to code the PDF to protect their reading. PDF Creator also allows to create images...
Download The Logo Creator ShowDescription The logo creator was designed by Laughingbird Software Groups. The application is based on the creation of logos. Also, the application is available for everyone; no knowledge requirements needed to use it. Logo Creator is simple and...
Operating Systems - MS-DOS - Tips ShowSetting the CD-ROM drive The CD-ROM drive is configured in the config.sys and autoexec.bat system files. The CD-ROM drive device driver must be configured in the config.sys file (even if the device is automatically detected in Windows). To do...
Creating a local area network ShowWhy set up a local area network? When you have several computers, it can be convenient to connect them to each other to create a local area network (LAN). Setting up such a network costs very little, contrary to what people may think. Here are a...
Creating a LAN ShowWhy set up a LAN? If you have several computers, it may be worthwhile to connect them in order to create a local area network (LAN). Setting up such a network is much less expensive than what you might think. Here are a few ways you might benefit...

1

The_Mastermind, on Sep 8, 2009 6:13:11 am BST

Is there a C drive

Reply to The_Mastermind

2

 rose, on Sep 9, 2009 3:41:47 am BST

Yes. I try another coding. It works but when the datas are saved in excel file with commas. Its not in proper alignment. I want each data to be placed in each field. How can i do it. My code is

File f=new File("C:/Reports/WorkReports");
if(f.exists()==false)
{
f.mkdirs();
}
String a=search.trim();
File f1=new File("C:/Reports/WorkReports/"+a+".xls");
loc="C:/Reports/WorkReports/"+a+".xls";
if(f1.exists()==false)
{
f1.createNewFile();
}
PrintWriter fw = new PrintWriter(f1);
fw.print("Assigned Date");
fw.print(',');
fw.print("Company/Site");

Reply to rose