Results 1 to 6 of 6

Thread: Batch File Problem

Threaded View

  1. #1
    Member
    Join Date
    Sep 2007
    Posts
    51

    Angry Batch File Problem

    Hey Guys,

    i am trying to create a batch file to copy the required ".dll"s for a program that i have written (i.e. a kind of primitive install). but, i can't get the following batch file commands to work.

    Code:
    MD "c:\windows\winsxs\x86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.762_none_24c8a196583ff03b\"
    COPY ".\Lib\MSVCR80D.DLL" "c:\windows\winsxs\x86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.762_none_24c8a196583ff03b\msvcr80d.dll"
    i believe the problem is that i'm trying to create a directory in a protected system dir, and to copy a file to a protected system dir. does anyone know of a way around this, or does anyone have any ideas?

    i intend to pass this program on to people, via CD. So, if anyone knows how i could include the ".dll"s on the CD, and remove the need for any installation this would be even better. As my program is only very small, but i don't think this is possible. i am using MS Visual Studio, so if anyone knows how to force VS to use static libraries, that would be ideal.

    i would be very grateful for any help.


    thank you (in advance),

    user0182
    Last edited by user0182; May 3rd, 2008 at 08:51 PM.

Similar Threads

  1. Newbies Guide to Batch Programming
    By Deimos326 in forum Other Tutorials Forum
    Replies: 3
    Last Post: December 7th, 2003, 11:18 PM
  2. Batch programing (Tips and Tricks)
    By ele5125 in forum Other Tutorials Forum
    Replies: 9
    Last Post: June 19th, 2002, 05:09 PM
  3. The Worlds Longest Thread!
    By Noble Hamlet in forum AntiOnline's General Chit Chat
    Replies: 1100
    Last Post: March 17th, 2002, 09:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •