Need Help Moving Files

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Sep 2008
Posts: 1
Reputation: Malfunktion is an unknown quantity at this point 
Solved Threads: 0
Malfunktion Malfunktion is offline Offline
Newbie Poster

Need Help Moving Files

 
0
  #1
Sep 23rd, 2008
I was wondering if anyone had some source code/snippets of code that can:

- Move a a file (I guess copy -> paste -> delete old one)

- Rename a file.

- Locate whether a file is in a certain place?

Im using XCode on a mac.

Thanks
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: Need Help Moving Files

 
0
  #2
Sep 23rd, 2008
http://www.rocketaware.com/man/man2/rename.2.htm
IIRC, the MacOS is a POSIX compliant OS (or close enough anyway) that functions like this should be available to you as well
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC