Should I use just FileCopy and then FileDelete? What kind of function would allow me to move it to another volume?
I tried MoveFileEx (http://msdn2.microsoft.com/en-us/library/aa365240.aspx) but...
Type: Posts; User: notsocks
Should I use just FileCopy and then FileDelete? What kind of function would allow me to move it to another volume?
I tried MoveFileEx (http://msdn2.microsoft.com/en-us/library/aa365240.aspx) but...
Turns out the other drive is actually on the same computer. Sorry about that...
The computer is running Windows XP Professional.
Yeah, I can move folders and their contents on the C drive with...
I am trying to develop this program for a friend, but I've hit a problem: folders on his computer won't move from his C:\ to his Y:\ drive (The Y drive is a folder on his network located on a...
strcpy() did the trick! Funny, I never thought to use it for that, even though I've used in several times in the rest of the program.
Thanks a bunch! I REALLY appreciate it!
Oh, no... That's exactly what I'm doing! I run a different variable through a series of checks, and when it meets a requirement it fills these variables with strings. Here's a little piece of that......
I want to merge two strings together, but I'm running into a lot of problems...
I have my two variables...
char *destination;
char *name;
And I've assigned both of them values as the...
You assumed correctly: I had no idea. Thanks for pointing that out.
I AM dealing with directories. How will that make a difference?
I can't use strcch becuase file_name could contain another backslash that I need to keep. :(
What I was thinking was to get the ammount of characters in 'path' (30 for example), and then somehow...
Another question :(
I have two char variables, path and file_name:
char path[256];
char file_name[256];
Salem, that last bit did the trick! The file now moves to that directory without a problem!!! YAY!
And albert3721 and Macgyver, thanks for that heads up. I stand corrected! I'll look into that...
I don't see how it could be, I need it in my program so the enter doesn't bypass my getchar();s that I've placed in the program so the user can see what's going on (becuase otherwise it'll run and...
I made some changes and experimented, but it's still not working. I've tried to put the entire path "C:\Program Files\File Mananger\File.txt" in quotes, and without (thanks for the idea robwhit), but...
Thanks for the responses!
(I'm using Dev-C++ 4.9.9.2)
I figured it might be a problem with the library... is there a different library I could use then? The ones I am trying to use are as...
I have a "string," if you will, of a directory where I am going to move a file over, I've declared it as:
char duplicate_file[] = "C:\\Program Files\\File Manager\\";
After I get the...
Hey, every one. I have a (hopefully) quick question here, and I'd appreciate any help you can offer. I really need to be pointed in the right direction here. Hopefully I can explain this clearly:
...