Thread: External Application

  1. #1
    Registered User
    Join Date
    Nov 2004

    External Application

    Alright, so I've tried reading some tutorials and such, but basically I'm pretty new to programming and couldn't figure this one out. I've been using a batch file to backup logs and my mail box in a password protected winrar file (code below) which is then copied to a thumbdrive so I can easily backup and transfer between my laptop and desktop computers. I'm trying to convert this to an application so that my password is not out in the open in the batch file. I've tried many different attempts at getting this working but can't figure it out. Any help would be greatly appreciated.
    @echo off
    :: Delete Original Archives
    DEL /Q E:\Private\Profiles\Logs.rar
    DEL /Q E:\Private\Profiles\ThunderbirdProfile.rar
    :: Create Archive
    cd "C:\Program Files\App"
    "C:\Program Files\Utilities\WinRAR\rar.exe" a -hpPASS -r -m5 E:\Private\Profiles\Logs.rar logs
    "C:\Program Files\Utilities\WinRAR\rar.exe" a -hpPASS -r -m5 E:\Private\Profiles\ThunderbirdProfile.rar "C:\Thunderbird"

  2. #2
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  3. #3
    Registered User
    Join Date
    Nov 2004
    I've tried the method's described in the FAQ but could not get it to work at all.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  2. Position mouse in external application
    By keira in forum C# Programming
    Replies: 1
    Last Post: 09-15-2008, 07:05 PM
  3. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  4. Including lib in a lib
    By bibiteinfo in forum C++ Programming
    Replies: 0
    Last Post: 02-07-2006, 02:28 PM
  5. debug to release modes
    By DavidP in forum Game Programming
    Replies: 5
    Last Post: 03-20-2003, 03:01 PM