Search:

Type: Posts; User: notsocks

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,853

    Should I use just FileCopy and then FileDelete?...

    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...
  2. Replies
    8
    Views
    1,853

    Turns out the other drive is actually on the same...

    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...
  3. Replies
    8
    Views
    1,853

    Problems Moving Certain Folders...

    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...
  4. Replies
    6
    Views
    1,728

    strcpy() did the trick! Funny, I never thought to...

    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!
  5. Replies
    6
    Views
    1,728

    Oh, no... That's exactly what I'm doing! I run a...

    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......
  6. Replies
    6
    Views
    1,728

    Problem with strcat()

    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...
  7. Replies
    5
    Views
    1,027

    You assumed correctly: I had no idea. Thanks for...

    You assumed correctly: I had no idea. Thanks for pointing that out.

    I AM dealing with directories. How will that make a difference?
  8. Replies
    5
    Views
    1,027

    I can't use strcch becuase file_name could...

    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...
  9. Replies
    5
    Views
    1,027

    Moving a string from a larger one

    Another question :(

    I have two char variables, path and file_name:



    char path[256];
    char file_name[256];
  10. Salem, that last bit did the trick! The file now...

    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...
  11. I don't see how it could be, I need it in my...

    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...
  12. I made some changes and experimented, but it's...

    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...
  13. Thanks for the responses! (I'm using Dev-C++...

    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...
  14. Moving a file to a directory containing spaces

    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...
  15. Recognizing a Sequence of Characters in a File Path

    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:
    ...
Results 1 to 15 of 15