Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

How can one make folders in C or remove and rename them?

Status
Not open for further replies.

SUNBELT

Member level 2
Joined
Oct 4, 2005
Messages
42
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,652
How can one make folders (not files) in c or remove and rename them.
Please provide me with simple example.
I think one should use "mkdir".
 

oddbudman

Member level 5
Joined
Oct 20, 2004
Messages
89
Helped
12
Reputation
24
Reaction score
0
Trophy points
1,286
Activity points
873
Re: c problem

What OS are you running?

Anyway, You can probably do this using the system command.
http://www.ece.ualberta.ca/~jasmith...Library/libcsystemexecute_command_string.html
If you using a unix enviroment type 'man system'.

Other than that I'm sure you can do it in much the same way as any other file, just look for some examples using google or read some file I/O manuals for the compiler that you are using.

oddbudman
 

wwfeda

Junior Member level 3
Joined
Dec 17, 2005
Messages
29
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,281
Activity points
1,632
Re: c problem

mkdir newfolder
md newfolder


try either one
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top