Results 1 to 1 of 1

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Need help making a script like a windows bat file

  1. #1
    Default Need help making a script like a windows bat file
    I have no idea how to make script files in osx. I what i'm trying to do is make a script that delete the boot.ini file off my hard drives then replaces it with a new file.

    this is what i would make it look like in a windows bat file

    Process.Start("cmd")
    del "c:boot.ini"
    copy "c:winboot.ini" "c:boot.ini"
    shutdown -r -t 01
    My home server is dual booting XP and OSX. i'm trying to make a simple script that will swap out my boot.ini file so i can remotely reboot the computer into the other system. It works in windows but i'm new to mac.
    Last edited by persichini; 10-23-2009 at 02:05 PM.
    1st gen iPhone custom pwn’d
    www.martinisgifts.com
    *************************************
    IMob friend code 129-015-829
    Mafia Live code 223-902-644

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