How to create a folder in the file system?
Hi All,
How to create a normal folder in my PC's file system in a specific path?
Host just passes commands to the OS; the simplest way to try would be playing a little bit around in the shell to figure out what's not working...
C:\>dir "I am"*
Volume in drive C is System
Volume Serial Number is 5C03-B54D
Directory of C:\
File Not Found
C:\>cmd /c mkdir "c:\I am a directory"
C:\>dir "I am"*
Volume in drive C is System
Volume Serial Number is 5C03-B54D
Directory of C:\
09/21/2010 02:38 AM <DIR> I am a directory
0 File(s) 0 bytes
1 Dir(s) 509,628,416 bytes free
C:\>cmd /c mkdir "c:\I am a directory"
A subdirectory or file c:\I am a directory already exists.
C:\>or with the host built-in
host('cmd /c mkdir "'||full_path||'"');But first you should check if the directory already exists as mkdir will throw an error if it exists as you can see.
cheers
Similar Messages
-
HOW TO CREATE SEVERAL folder for the generation and READING FILE
HOW TO CREATE SEVERAL folder for the generation and READING FILE WITH THE COMMAND utl_File.
please give an example to create 3 folders or directories ...
I appreciate your attention ...
Reynel Martinez SalazarI hope this link help you.
[http://www.adp-gmbh.ch/ora/sql/create_directory.html]
create or replace directory exp_dir as '/tmp';
grant read, write on directory exp_dir to eygle;
SQL> create or replace directory UTL_FILE_DIR as '/opt/oracle/utl_file';
Directory created.
SQL> declare
2 fhandle utl_file.file_type;
3 begin
4 fhandle := utl_file.fopen('UTL_FILE_DIR', 'example.txt', 'w');
5 utl_file.put_line(fhandle , 'eygle test write one');
6 utl_file.put_line(fhandle , 'eygle test write two');
7 utl_file.fclose(fhandle);
8 end;
9 /
PL/SQL procedure successfully completed.
SQL> !
[oracle@jumper 9.2.0]$ more /opt/oracle/utl_file/example.txt
eygle test write one
eygle test write two
[oracle@jumper 9.2.0]$
SQL> declare
2 fhandle utl_file.file_type;
3 fp_buffer varchar2(4000);
4 begin
5 fhandle := utl_file.fopen ('UTL_FILE_DIR','example.txt', 'R');
6
7 utl_file.get_line (fhandle , fp_buffer );
8 dbms_output.put_line(fp_buffer );
9 utl_file.get_line (fhandle , fp_buffer );
10 dbms_output.put_line(fp_buffer );
11 utl_file.fclose(fhandle);
12 end;
13 /
eygle test write one
eygle test write two
PL/SQL procedure successfully completed.
SQL> select * from dba_directories;
OWNER DIRECTORY_NAME DIRECTORY_PATH
SYS UTL_FILE_DIR /opt/oracle/utl_file
SYS BDUMP_DIR /opt/oracle/admin/conner/bdump
SYS EXP_DIR /opt/oracle/utl_file
SQL> drop directory exp_dir;
Directory dropped
SQL> select * from dba_directories;
OWNER DIRECTORY_NAME DIRECTORY_PATH
SYS UTL_FILE_DIR /opt/oracle/utl_file
SYS BDUMP_DIR /opt/oracle/admin/conner/bdumpRegards salim.
Edited by: Salim Chelabi on Apr 4, 2009 4:33 PM -
How to create a table in the file using java code.?
HI,
I should export the data from the view objects to a word document. I have done that but I should
display the data in the form of a table.
Kindly come up with the necessary information on how to create a table in the file using java.
Thanks,
PhaniHi, Thank you for responding to my query.
The below are the details of my code.
DCBindingContainer dcBindings =
(DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
DCIteratorBinding StudentDetailsContent =
(DCIteratorBinding)dcBindings.get("StudentView1Iterator");
OutputStreamWriter w = new OutputStreamWriter(outputStream, "UTF-8");
Row currentRow =
StudentDetailsContent.getRowSetIterator().first();
Object a[]= currentRow.getAttributeValues();
int i;
for(i=0 ;i<=a.length;i++){
w.write(a.toString());
w.write(" ");
w.flush();
I am usning this coding to achieve the task of exporting data to file.
I need to display this information in the table that is where I need help from you people.
Thanks, -
How adutilities comes to know that the file system is shared file system
How adutilities comes to know that the file system is shared file system ?
In multinode shared file system : if we want genearte message file we can invoke adadmin from any node and perform this activity. In this case, how adadmin knows that the filesystem is shared filesystem.Duplicate post.
How adutilities comes to know that the file system is shared file system
How adutilities comes to know that the file system is shared file system -
How to create search path for the file on the desktop..
hello experts..
I have used gui_upload module to upload the data from flatfile to the internal table, in that how can i create search path for the file selection in the selection screen, also please help me the code to update the ztable.
thanksHI
If iam not wrong you want to select a file from a location that you don't know so if this is ur problem then use the function module
F4_FILENAME
this FM helps to locate and select the desired file from the system.
Sample code that you can check is
How to get windows filename
PARAMETERS: lv_file LIKE rlgrap-filename.
Method 1
CALL FUNCTION u2019KD_GET_FILENAME_ON_F4u2019
EXPORTING
MASK = u2019,.txt,.*u2019
STATIC = u2019Xu2019
CHANGING
FILE_NAME = LV_FILE.
Method 2
CALL FUNCTION u2019F4_FILENAMEu2019
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
field_name = u2019 u2019
IMPORTING
file_name = LV_FILE.
Regards
Pavan -
How to create repository folders to various file systems
Hi
How to create repository folders for various filesystems,and allow the user to do access those files(checkin/checkout)
PrasadPlease explain further.
You can create a file system repository for each of the file systems.
The document approval workflow is a functionality which is already available withing the portal.
However, be aware that the file system repository does not support custom properties and versioning.
In that case you might want to use a CM respository in the FSDB mode which lets you store metadata on the portal and the actual files on the file server.
Regards,
Vibhu -
A simple question: how to create a folder in the active root
I have a simple little issue:
When I go in the "Finder" down the folder chain to what ever place with the intention to create a new sub folder, using "file" + "new folder" the system always create the new folder in the main root versus creating it where I'm standing (highlighted root) in the folder chain.
Any idea how to make the new folder directly under the highlighted root?
ThxIf you are in column view a new folder will be created in the selected folder, but if you are using the other views you need to actually open the folder. The path shown at the top of a Finder window will show the target of the window (which is where a new folder will be created).
-
How to create a folder for desktop files
Iam new to Mac can someone help me to create a folder for my desktop word files?
You can right click on your Desktop and select New Folder. In Finder File > New Folder should work too, not in front of my Mac.
Welcome to back by the way. You might find these websites helpful.
Switch 101
Mac 101 -
I have a 83Gb file system that apparently is not full, but its actually full, because I have run out of inodes, and I have 10 million files in there, so I want to create another that will cater for this inode issue. My question is if I use the
newfs -T
option will it work? As its only going to be 90Gb?You use probably a UFS file system, right ? Then in this case, use the "-i" option with a value less as 8192. 8192 is the default value for a UFS filesystem that is between 3GB and 1 TB size.
But if you want to store 10M of files, UFS will be limited to 1M per TB : 64-bit: Support of MultiterabyteUFS File Systems (System Administration Guide: Devices and File Systems)
In this case, use instead UFS a ZFS filesystem that supports 2^48 entries !!! -
hi,
i want to create folders with the name = date automaticly.
i found several solutions here, but all in LV6.1. could somebody give me an example in LV6.0 ?
I tried it with "get date-string" but that date-string has "." in it :-(
6.1-example :
hereHope this will help!
ian.f
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010
依恩与LabVIEW
LVVILIB.blogspot.com
Attachments:
folder_create_2003.vi 66 KB -
How to create a password for the pdf file
In Adore Acrobat XI, how to create a password for the file? The help states going to Tools Menu and clicking on Protection tab - but there is no such option. In the file - properties - security screen, it shows the security details but does not allow to edit it.
I think you may be mixing up two different products: Adobe Reader (free), and Acrobat ($$).
-
In order to keep each family members' documents organized, I need to create separate "folders". I've seared the help section but to no avail. I'm sure this is very easy for someone out there. Any help is much appreciated. Thank you.
You can't created a folder in Pages. Here's what Help says about new folders:
To create a folder:
Click the desktop (the background area of your screen) if you want to keep the new folder on the desktop; otherwise, open the window where you want to keep the folder.
Choose File > New Folder.
If the New Folder command is dimmed, you do not have permission to create a folder at the current location.
To give the folder a new name, click to select it and press Return. Then type a name for the folder and press Return again.
Walt -
How do I create a folder in the root directory
Hi
How do I create a folder in the root directory?
Once I do that I need to create a note book file in that folder
Any help would be much appreciated
Thanks
BrianHi Brian,
Open Macintosh HD in the Finder, then SHIFT+CMD+n
Root Directory is the top level of the drive. -
My Acrobat XI suddenly will not create a PDF file, but has me select a folder for the file
How do I set my Acrobat XI to create a PDF file. It has me select a folder for the file, but nothing get printed
There are so many ways Acrobat creates a PDF, we need to ask: exactly what steps do you follow, that lead up to this problem? Mac or Windows?
-
Each time I reopen a folder in OS X 10.8.4 the files get rearranged alphabetically, how do I stop this so the file arrangement in the folder stays the same?
I might add that all the files are aliases. There are 40 altogether and I am aware I could create 10 sub-folders so I only have 4 aliases in each subfolder which would mean I only have to rearrange 4 aliases each time but this is still not ideal. I have been using Macs since the 1980's and up to now files have always stayed where you put them unless you selected Arrange By in the Finder View Menu.
Maybe you are looking for
-
Help! I recently upgraded to OS 10.9.4 from 10.6.8, and now when I want to send an email to a group in my contacts I am no longer able to select the group as a whole. I have to select each address individually. This can't be right. With 10.6.8 I
-
Trouble connecting wirelessly to existing non-Apple router
Existing home wireless router (Motorola WR850G) is configured with "WPA-PSK" as Enabled, WPA Encryption set as "TKIP" and there is a WPA Pass Phrase (password) set that I know. I can connect just fine w/ my MacBook running Mac OS 10.4.x, but just got
-
Bom Dia Nesta solução NF-e do B2B Outbound Attachment +Body eu tive um problema ao testar o Module Gui gerei o pacote .ear fiz o deploy do mesmo no J2ee e acontece um erro quando testo o envio do e-mail Message processing failed. Cause: java.lang
-
Word 2008 & System Log Entries
Whenever I open Word 2008 there is a flood of never ending entries in System Log as long as Word 2008 is open. This is an example: *Feb 20 14:40:10 Macintosh Microsoft Word[728]: CGBitmapContextGetData: invalid context* *Feb 20 14:40:40: --- last mes
-
How to disable authentication for weblogic server
Hi expert, I have a web application deployed on weblogic server 12c. And I have a client which connects to the web application. The client will authenticate with server with digest authentication (challenge\response). We use the default authenticati