Opening .bat files on my mac

A couple of months ago, i installed a windows application to my mac via crossover. However, it quickly became outdated and needs to be patched, but the patch uses a .bat (batch) file. Seeing that i do not have and will not buy a copy of windows, nor run an emulator, i am out of ideas. I have tried running it through Terminal, but permission was denied; the file did not allow me to execute it. I also tried to convert it via Applescript, but that did not work either (maybe it is an error with how i tried to script it, but everything seemed okay). If someone could help me with the script, or tell me how to open the file, that would be great.
thanks in advance.

Hi attekiller,
Terminal seemed to work, but when i told it to execute, it said that I did not have the permission to do so, even though I am the root administrator. I selected the bat file and went file> get info to change the permission, but it said i could only read and write, not execute it. Does this mean that I cannot use terminal to open this?
Terminal refuses to execute the file as a precaution, since it can not execute the instructions included in the file.
Read+Write only means that you can 'edit' the text file, but Terminal (and OSX) have no way to execute the Windows System Calls in it.
I have Crossover lying around since the LameDuck day but haven't had the time to 'play' with it.
As said you have to execute the batch file while you are in Crossover Windows, so maybe when you import/copy the .bat file into Crossover when running it should enable you to run the file (using the Windows Command Prompt for example).
Try the Crossover Support Forums or Library http://www.codeweavers.com/support/ for help on how-to do this.
Stefan
thanks

Similar Messages

  • Opening ITHMB files on my mac

    Why cant i open ithmb files on my mac? I have recently changed from PC to mac...thought ithmb was an apple format?

    Hi attekiller,
    Terminal seemed to work, but when i told it to execute, it said that I did not have the permission to do so, even though I am the root administrator. I selected the bat file and went file> get info to change the permission, but it said i could only read and write, not execute it. Does this mean that I cannot use terminal to open this?
    Terminal refuses to execute the file as a precaution, since it can not execute the instructions included in the file.
    Read+Write only means that you can 'edit' the text file, but Terminal (and OSX) have no way to execute the Windows System Calls in it.
    I have Crossover lying around since the LameDuck day but haven't had the time to 'play' with it.
    As said you have to execute the batch file while you are in Crossover Windows, so maybe when you import/copy the .bat file into Crossover when running it should enable you to run the file (using the Windows Command Prompt for example).
    Try the Crossover Support Forums or Library http://www.codeweavers.com/support/ for help on how-to do this.
    Stefan
    thanks

  • My windows(8.1 64bit) partition is read only from the mac(yosemite) side of things. Anybody have a clue on how to fix this? Also, slightly frustrating as well, windows crashes every time I attempt to open a file from the mac partition.

    my windows(8.1 64bit) partition is read only from the mac(yosemite) side of things. Anybody have a clue on how to fix this? Also, slightly frustrating as well, windows crashes every time I attempt to open a file from the mac partition.

    All Office applications will also try to open a temporary work file in the same location as the source file. This implies the source file directory also needs to be writable for this temporary file. Since the default HFS+ driver provides only read-only access, such temporary files will fail to open, and will cause the application to fail.
    As a test copy the file you want to edit, say an Excel spreadsheet from the OSX file system to the C: drive on the Windows side and try to open it. If you look in this directory, you should see two files, the source and a temporary file. You may have to force the temporary file to be opened on a read-write file system, by manipulating the folder for temporary files.

  • I tried opening my Mac files to windows by using Macdriver 8, however upon opening the file my previous mac folders were converted to windows shortcuts and upon returning to my mac pc, all my folders has a .lnk file extension which I cannot open.

    I tried opening my Mac files to windows by using Macdriver 8, however upon opening the file my previous mac folders were converted to windows shortcuts and upon returning to my mac pc, all my folders has a .lnk file extension which I cannot open. Need help very badly since the hard drive I use is the only back up I have for my very old pics. Thank you...

    Backup with cloning software your HD to have an exact copy of it as it is.
    Use this methodology to recover your partition.
    Have fun,
    Leo

  • Letter-Spacing is different if I open my file at another Mac of us (Value is at both mac 0, but the text is longor), and if I cklick into the text-box, Illustrator says that the file was made in an other Version of Illustrator. We have on all macs the sam

    Letter-Spacing is different if I open my file at another Mac of us (Value is at both mac 0, but the text is longor), and if I cklick into the text-box, Illustrator says that the file was made in an other Version of Illustrator. We have on all macs the same system, os 10.8.3, cs6 and UTC4. And of course we`re using exactly the same font....

    Packpool,
    I believe the first thing to do is to update to 16.0.5.
    Adobe - Illustrator : For Macintosh

  • HT3775 The document "EK000011.AVI" could not be opened. A required codec isn't available.  Can anyone tell in very simple terms what I need to do?   I am trying to open video files to a mac

    The document “EK000011.AVI” could not be opened. A required codec isn't available.  Can anyone tell in very simple terms what I need to do?   I am trying to open video files to a mac and the aformentioned message comes up

    Download and install the free VLC: http://www.videolan.org/vlc/download-macosx.html
    It runs a multitude of file formats.

  • I plugged my flash drive into windows and now I can't open the files on my mac. Help??

    I plugged my flash drive into windows and now I can't open the files on my mac. Help??

    What version of iPhoto?
    What format is the disk?

  • How do I open .exe files on my mac?

    How do I open .exe files on my mac? I've downloaded a bunch of programs but they are all in .exe format. Do I need a program to extract these files?
    Thanks,

    nps0045 wrote:
    Ok thanks. So how do you install programs that you download from the internet? I've downloaded some programs and when I try to install them it doesn't work.
    First of all, you need to download things that are built to run on OS X - there is no way to install any Windows program in OS X.  You need windows to run Windows programs.
    Most downloadable programs for OS X will be distributed in a Disc Image file - *.dmg  You would double click one to open it.  Then, often it is as simple as drag the uncompressed folder to your Applications Folder.  Sometimes there may be an installer to run.  Once installed, you can eject the mounted dmg (drag it to the trash) and either keep is in case you ever need to reinstall, or delete it.

  • I can't open excel file on a mac!

    Hey All,
    I have been working on an excel file using both a mac and a pc. However, today I can't seem to open the file on my macbook (snowleopard) but I CAN open it on a PC. What is going on? I need to be able to open the file on my mac and a pc. At first I thought it was because I am running out a memory on my mac, however I tried opening the file on a desktop mac with a lot of memory, but the same thing seems to happen. Does anyone have any ideas what is going on????

    Yes, use the SL retail disc; hold down the C key on start up (wait for the chime if it's a bluetooth keyboard) until the Apple logo appears.
    OK the language page, then ignore the installer and go to the menu bar, Utilities menu > Disk Utility.
    Booted from the DVD you will now be able to use the 'Repair Disk' button to repair the HD.
    Run 'Repair Disk' again after repairs have been reported, until the green message "The Volume Macintosh HD appears to be OK" appears.
    Then Quit DU, quit the installer and restart from Macintosh HD.
    There should be no loss of data, but you should always have a backup of that anyway.
    If a message appears saying DU can't repair the drive, repost here for further instructions.

  • I cant open PDF file in my mac even after updating to 10.4

    I cant open PDF file in my mac even after updating to 10.4

    Chrome
    this is the pdf i am trying to open
    http://www.cic.gc.ca/english/pdf/kits/forms/IMM5257E.PDF

  • I cannot open pdf files on my mac

    can anyone help me find out how I can open pdf files on my mac? I used to be able to open them and all of a sudden, whenever I link on a pdf file, it directs me to a blank screen. Thanks!

    You can download Adobe Reader from adobe.com.  The Mac OSX uses its "reader" to open PDF files without the Adobe Reader.  If you downloader adobe reader, it should open all PDF files.  Hope this helps.

  • I am attempting to open MPEG4 files on my Mac Book Pro and it is saying that the file cannot be opened because a codec is missing.  I downloaded both QuickTime Player 7.6.6 and also QuickTime Player MPEG2 and neither one of them are helping with my prob

    I am attempting to open MPEG4 files on my Mac Book Pro and it is saying that the file cannot be opened because a codec is missing.  I downloaded both QuickTime Player 7.6.6 and also QuickTime Player MPEG2 and neither one of them are helping with my problem.

    riiimommy wrote:
    I am not familiar with VLC, where can I download it? 
    VLC

  • HELP:: Flash unable to open BAT file or PPT file

    HELP Please....
    I am using Flash MX.. my projector exe file doesnt seem to
    open/call
    "myppt.bat" file which calls a powerpoint (PPS) file after
    the animation is
    over. The bat file runs well when
    self executed but not from flash...
    I also installed the trial version of Flash 8 and seem to be
    having the same
    above problem.
    please help by providing a working solution.

    Use FlashJester JStart
    http://jstart.flashjester.com
    p.s Beware, a double posting is not seen too good..
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

  • Cannot open \\psf\home\some_file error message when trying to open some file located on Mac hard drive

    I have trio of 27 inch iMacs in my office and we all use Parallels 8 to develop content in Framemaker.  We have two 3 tb LaCie D2 Network 2 NAS' drives that we need to move our content to  one and do backups to the other.  The backups from the iMacs are working just fine (everything is MacOS, of course it works).  The error in the title is what I am getting after trying to access the NAS from windows  running in Parallels 8.
    Why do I want  to do this?  Our main network server is 500 miles away and so is the DNS server, so when that connectivity is lost  I can't access my work locally (even though I can see file server (a Mac pro running Ubuntu or some such OS (honest, I didn't do it!!)).
    Why?? I just want to have a a little control over my data and some resonable expectation that someone is planning for emergencies by having a robust strategy to file protection (I don't  right now, and I can't risk my hard earned work).
    All my workstations connect to a gigabit switch  as do the LaCies.
    Both LaCies are initialized as HFS+.
    I  know I'm missing something,  I whish I knew what it is ( then the solution is easy!!)
    Ideas?
    mik

    I think it's the content of the include that is causing your
    troubles. Somehow you created a menu using Fireworks(?) or
    Dreamweaver(?) and Contribute indicates javascripterrors, not php
    errors...
    Maybe its better, in this case, constructing a menu that
    contains only an unordered list (check out project7 menus, or stu
    nichols css site for more examples). Updating the menu will be
    simpeler and also with less chance of errors by users. You can open
    such a file without any troubles in Contribute.

  • Open bat file on client machine using webutil

    Hi all.
    I'm on devsuite 10g.
    I want to run a bat file on client machine using client_host function of webutil.
    I have tried first to execute the bat file with mouse double-click in order to check if it is ok, and it works.
    Now I want to execute this file from my form using webutil.
    Here is my code:
    --> with this code I select a file from client machine
    Declare
         LC$Fichier Varchar2(1000):=null ;
         PC$Filtre Varchar2(2000) := '|All files|*.*|' ;
    Begin
         LC$Fichier := WEBUTIL_FILE.FILE_OPEN_DIALOG
         null,
         PC$Filtre,
         'Seleziona un file da caricare'
    If LC$Fichier is not null Then
    :output.apri_file := LC$Fichier ;
    End if ;
    End ;
    --> with this code I execute the file that I have opened
    declare
         cmd varchar2(30000) := null;
    BEGIN
         Cmd := 'cmd /c start "" "' || :output.apri_file || '"' ;
    CLIENT_HOST(cmd);
    END;
    When I execute my form I have this error:
    Exception in thread "main" java.lang.NoClassDefFoundError: ....folder of file opened.
    Can anyone help me to solve this problem??
    Thanks in advance,
    Fabrizio

    Fabrizio Delli Priscoli wrote:
    Hi Tony.
    I have tried to run my bat file with double-click and everything is OK.
    When you say the DOS window opens for few second, is your batch file being executed?? did you see the results??
    The answer in NO for both of your questions.
    If I try to drag and drop the file I have error.
    How can I attach an image to this post, so that you can see the error??
    Thanks,
    FabrizioThis seems like a directory or OS level permission issue on the batch file, What is the error you got when you tried drag and drop the batch file in an DOS window???
    I think you need to upload the image to a site and use the markup for the image, include the full URL of the uploaded file between ! (exclamation marks) something like ! http://../post.gif ! without the spaces.
    Tony
    Edited by: Tony Garabedian on Sep 4, 2008 12:30 PM

Maybe you are looking for

  • Word Wrap on all-day events?

    When I create an all-day event, if the event name is too long to fit on one line, it does not wrap to the next line (like it does with a timed event) and the event is truncated. How can I see all of the event name with all-day events? The problem exi

  • Running server side methods prior to applet launch

    Hi all, I have recently become involved in the JSP world. My question is this: How can I get a server-side process to run prior to the launcing/running of an applet that must also be present on the page? Is there a way to force an order of execution

  • Happy Birthday to You

    I can easily say that most of us/members made some friends here. And friends congratulate and celebrate each other birthdays. If you wish for us to remember you on your birthday, please reply with your birthday date. Entrence fee is: you have achieve

  • Copy Purchasing Info Record from old client to new client

    HI SAP Expert, When viewing report through the transaction ME1P, there are PO price history. I want to copy this history to new client. Does anyone know how to copy it to new client? Regards, Jalal

  • How To Supress Acrobat Error Message And Alert Message

    Is there any way to supress those pop up message? If can't, is there any way to catch it?