Cfverity vspider  changes to bat file

I have a batch file which runs vspider and creates a
collection. One problem with this collection is that some
information seems to be missing. I want to search using the verity
index and jump to specific part numbers. I think this can best be
accomplished by creating a static HTML page for verity to search
which contains all 20,000+ product numbers in the link. An example
of the links I would produce is:
quote:
http://www.awebsite.com/index.cfm?form_prod_id=877,131,53,363_4242&action=product&pt=APAR T12345
APART12345 is contained within the page, but it's not
currently linked anyplace.
quote:
http://www.awebsite.com/index.cfm?form_prod_id=877,131,53,363_4242&action=product
would actually take you to the correct page, and the
APART12345 is extra information in the link. I can get the server
to create this static page on a schedule. My question for the group
is how to change the batch file so that it indexes the links on the
HTML page, but it does not index the HTML page itself. I don't want
the page with all of the links to show up by itself.
quote:
C:\CFusionMX7\verity\k2\_nti40\bin\vspider -style
C:\CFusionMX7\verity\Data\stylesets\ColdFusionVspider -collection
d:\cfverity\collections\awebsite20071210 -include
"/awebsite/verity/*" -start
http://localhost/awebsite/verity/
-cgiok -abspath -reparse -indmimeinclude text/* -indmimeexclude
text/css -delay 3000 -exclude "/awebsite/in*"
All help is much appreciated. Thanks in advance.
Phoenix
http://www.awebsite.com/index.cfm?form_prod_id=877,131,53,363_4242&action=product&pt=APART 12345

Is it because the Tomcat is unable to locate the
batch file? if yes where should I place this file. Or
is there some Security problem .?Yes, it is. You can put the batch file anywhere you like, just don't make Tomcat guess where it is. Like this: Process child = Runtime.getRuntime().exec("C:\\any\\old\\path\\my_bat.bat");

Similar Messages

  • How to use a bat file to change plug-in control panel settings?

    Hi,
    The company I work at has old applications that rely on the MS JVM shipped with IE so we cannot activate the Sun Java plug-in for all users.
    The applet we are developing has to write to disk and thus has to be signed. We do therefore need to run a modern Java version for our users. We have about 5000-7000 users so we would need to create a bat file that would automatically be run for our users. That bat would set that the Sun Java plug-in will be used for Intenet Explorer.
    Does anyone know which (registry-?) setting it is that is changed when the Internet Explorer box is checked in the Java plug-in control panel?
    All help is greatly apprechiated.
    Best regards,
    Helena

    Try this one:
    HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.5.0_06
    Where the 1.5.0_06 might be a different version.
    There is a value named UseJava2IExplorer. 1 is enabled (Sun's), 0 is disabled.

  • Why can´t i change language inside PsCC from Danish to English? Instead of going into Program:Adobe. Locales: rename file from .tw10428.dat into tw10428.bat file??

    Why can´t i change language inside PsCC from Danish to English? Instead of going into Program:Adobe. Locales: rename file from .tw10428.dat into tw10428.bat file??

    Creative Cloud Help / Adjust the install language | Creative Cloud applications | CCM -
    http://helpx.adobe.com/creative-cloud/kb/change-installed-language.html

  • Firefox Does Not Open a Link Pointing to a .bat file on a the network drive on local website

    Make and model of network drive?
    --HP Priliant DL580 G5
    How is you network set up?
    --Novell Netware 6.5
    What router are you using?
    --Cisco router c3825
    What are you trying to do with the batch file?
    --simple program that launches a batch file that is in the network drive
    Interent Explorer shows the following when launching the link.
    >File Download-Security Warning
    >do you want to run or save this file?
    >Name: johndoe.bat
    >Type: MS-DOS Batch File, 308 bytes
    >From T:\xx\xxxbat
    Has this worked in previous versions of FireFox?
    >no and it does not work with newer v11.
    Whats the issue with using IE if it works from IE?
    >we have users that use FF on regular bases and just for a link to switch browser it is not user friendly. all though we are supporting two browsers we do not want to take FF out of network.
    Is there a reason you want to use FireFox?
    >FF has gained popularity in our agency and it would be best to have this link work on FF as well.
    --HERE IS THE CODE--
    <td valign="top"><a href="file:///T:/Geosupport Desktop Edition/bat/Goat.bat"
    type="application/bat" target="_blank"><img src="../../images/technology/Goat.gif" alt="Goat" width="32" height="28" hspace="4" vspace="2" border="0" align="left"></a>Geosupport On-Line Address Translator, or GOAT, is an interactive Windows application that allows the user to request geographic data through Geosupport function calls. Use of GOAT requires no programming skills and provides valuable information to the casual user.<br>

    Firefox sees that (at least local or network dive located) .bat files are text and renders them as such. To download it as a .bat file, use save page as, (or Control-S) change "text file" to "all files" and type .bat onto the end of the filename, then hit save. Not ideal I know, but better than nothing.

  • Using a .bat file to use Values in Registry from another Registry

    I recently starting working in an IT Department and for years my superiors/co-workers have always had a piece of software called "cyt.exe".
    When ever I logged in someones computer as Admin, this software allowed me to log out with their username still in the log in text box. We recently upgraded a large quantity of systems to Wins7 and WinEmbedded7 and that program no longer works due to the
    registry change.
    Currently the best I could to for replicating that software function as .bat file is:
    call reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI" /v LastLoggedOnSAMUser /t REG_SZ /d "domain/username" /f
    call reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI" /v LastLoggedOnUser /t REG_SZ /d "doamain/username" /f
    pause
    When I log out, it leaves the user name and password blank which is OK but I need to take it one step further. I need the values of:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI
    "LastLoggedOnSAMUser"="domain\username"
    "LastLoggedOnUser"="domain\username"
    to match the values that are in
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\SessionData\1
    "LoggedOnSAMUser"="domain\username"
    "LoggedOnUser"="domain\username"
    Any suggestions on what I need to change in my code to manipulate the registry to match those values without having to manually input them?

    - Vegan Fanatic
    "can you fix the cyt.exe program, that would be the best option long term"
    Well the cyt.exe program hasn't been updated since 2000 (version 2.3 and 2.5 were the latest versions) so I can only assume the developer has abandoned the project. The reason why it doesn't work anymore is because of the registry change going from XP to
    Vista/Win7/Win8.
    Once I have my own batch file, it will be easier to tweak it as needed when an operating system changes then it is to rely/wait on someone else to update a very specific piece of software that only has one small purpose that has most likely been forgotten.
    As much as I would like to modify the existing program, I don't have any software I can use to re-program it and I doubt I have enough knowledge or experience to tweak it correctly.
    - Frederik Long
    "You need to experiment either with reg query / reg add or reg export / reg import. Each of these commands has inbuilt help, e.g. reg import /?."
    From what I tested, the export/import copies the file and its values and placed them where I asked it too. That is not what I need. I need the values ONLY and placed within the file I need which has a different name from the file I exported from.

  • How do I reset the default file association for .bat files on Windows 8.1?

    Windows 8.1 allows the user to change the file association for .bat files. I made the mistake of using this facility to change the default file association for .bat files to Notepad++. Now when I attempt to run a .bat file, the script for the .bat
    comes up in Notepad++, instead of its being run as an executable file!  All my .bat files are now useless. I tried finding a way to change this back to the original executable setting, including deleting Notepad++ from my system, but nothing
    has worked. 
    There are discussions that I found on the Internet about this problem, and the solutions to which I was led have not worked either. Most of the solutions apply to Windows 7 or Vista, but not to Windows 8. There are a few solutions that purport to apply to Windows
    8 and 8.1, but they do not work for me.  
    (Disconcertingly, some of the solutions presented for the problem that apply to Vista or Windows 7 and are dated as early as 2009, so this problem has apparently been around for some time, but Microsoft still keeps .bat files on the Control Panel facility that
    enables the change to be made. I cannot see why, but there it remains.)
    Can someone please help me change this file association back to the original setting for Windows 8.1? Remember, most if now all the links that address this issue are focused on Windows 7. I need an answer that has been tried and proven to apply to Windows 8.1.
    Nothing I have tried works.

    Hi,
    For the issue, we can restore Default File Extension Type Associations through adding the registry entries.
    1. Download the .reg file from the following link.
    http://www.eightforums.com/attachments/tutorials/8025d1345781188-default-file-associations-restore-windows-8-bat.reg
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    2. Save the .reg file to your desktop.
    3. Double click on the downloaded .reg file to Merge it.
    4. If prompted, click on Run, Yes (UAC), Yes, and OK to approve the merge.
    5. Sign out and in, or restart the computer to apply.
    6. If you are logged in as a standard user and this still does not help, then have the administrator also merge the needed .reg file for the listed file extension or protocol below while logged into their administrator account.
    Hope this helps.
    Regards,
    Kelvin hsu
    TechNet Community Support

  • Not able to execute startEclipse.bat file in Eclipse (Oracle utilities SDK)

    In Eclipse installation, i am not able to run "startEclipse.bat" file in this path "C:\SPLSDK\SDK\shortcuts" which comes under Oracle Utilities Software Development Kit 4.0.0.
    once i start installing startEclipse.bat, i get a error message "windows cannot find /eclipse.exe, make sure you typed correctly and try again"
    and how do i find the eclipse.exe on the installables? also in error message it shows backslash "/"eclipse.exe while executing "startEclipse.bat" file.
    jdk and hibernate paths are located in "c:\spl". Is that fine?
    And When I click “eclipse” in this path “C:\SPLSDK\SDK4.0.0.4\eclipse\eclipse-jee-galileo-SR2-win32\eclipse”, I get error "java runtime or jdk should be available in order to run eclipse. and no JVM was found after searching for the folder "C:\SPLSDK\SDK\4.0.0.4\_jvm\bin\javaw.exe" ". I have installed Jdk in “C:\spl\jdk1.6.0_18”. And to install Eclipse, should I change the path of installing jdk to support Eclipse installation?
    what could be the reason?
    Please give me suggession that how to install eclipse?
    Regards
    Vijaya

    Please help. Its urgent.

  • Scheduling job problem and modification in the bat file

    Dears ALL
    i am using the following script in windows 2003 server for oracle database 10 g i have one problem of scheduling the task i scheduled it successfully on windows scheduled task program but its not running at scheduled time and even when i run this bat file manually this give the security warning The publisher could not be varified,Are u sure u want to run this software? when i click on yes then it runs the bat file may be thats the problem in aslo scheduled how to remove this warning
    2ndly i want to do some changes in my script like this that it removes the same file older than 3 days means it jst have the last three dumps and will remove the olders the script is as
    @echo off
    CLS
    REM ********************************
    SET V_USER=riyadh
    SET V_PASSWORD=riyadh
    SET V_DB=vis
    SET V_DMP_PATH=D:\dump\
    REM ********************************
    ECHO.
    SET EXP_PATH=D:\oracle\visdb\9.2.0\bin\
    SET MONTH=%DATE:~4,2%
    SET YEAR=%DATE:~10,4%
    SET DATED=%DATE:~-7,2%
    ECHO ECHO CONNECT AS : %V_USER%/%V_PASSWORD%@%V_DB%
    ECHO Backup on : %DATED%/%MONTH%/%YEAR% (DD/MM/YYYY)
    ECHO SAVE AS : %V_DMP_PATH%%V_USER%_%DATED%%MONTH%%YEAR%.dmp
    ECHO TITLE BACKUP ...%V_USER%_%DATED%%MONTH%%YEAR%
    echo.
    %EXP_PATH%EXP.exe %V_USER%/%V_PASSWORD%@%V_DB% file=%V_DMP_PATH%%V_USER%_%DATED%%MONTH%%YEAR%.dmp log=%V_DMP_PATH%%V_USER%_%DATED%%MONTH%%YEAR%.log
    THANKS A LOT

    Solution:
    Run gpedit.msc
    Go to User Configuration >> Administrative Templates >> Windows Components >> Attachment Manager
    i have followd all the steps as it is but when i open the Inclusion list for moderate risk file types its not configured and the msg below this is Supported on: At least Microsoft Windows XP Professional with SP2
    and i have windows 2003 server so how to add it or enable it etc
    THANKS a lot for ur reply

  • EDI  X12 scenario,deq.bat file not generating any trace file.

    hello,
    i have worked on the EDI X12 over internet(AS2) Transaction,everything is working fine until the creation and deployment of configurations on both Acme and GlobalChips servers.But During the Verification of Purchase Order Transactions when i am running deq.bat file on both Acme and GlobalChips servers the dq script is not generating any t1.trc trace file.
    There is no problem with the Trading Partners on both servers they are on upstate,can anyone help me with this issue please,its very urgent.
    note: where will be the web.xml file for transportServlet located,can anyone provide me with the file path.
    thnx
    sunny

    Hello Sinkar,
    Thanks for your reply,Finally i have managed resolve the issue(deq.bat file is generating t1.trc file) successfully.But there are certain other issues regarding this topic in which i need your help.
    When i am running the deq.bat file in command prompt on both acme and globalchips servers it is showing the following status
    D:\oracle\OraJ2EE\ip\tutorial\X12\runtime&gt;deq.bat
    D:\oracle\OraJ2EE\ip\tutorial\X12\runtime&gt;java oracle.tip.adapter.b2b.data.IPDeq
    ueue ipdequeue.properties
    IPDequeue start...
    Dequeue from IP_IN_QUEUE
    and it also generated a t1.trc file on both servers,but the prompt in which i have run deq.bat is not giving any further message
    i.e some thing like IPDequeue end.
    and not even coming back to the original path i.e
    D:\oracle\OraJ2EE\ip\tutorial\X12\runtime&gt;
    and even if close the prompt it is not showing anything in t1.trc file and if i am running the enq_850.bat in acme server it is showing following stat
    D:\oracle\OraJ2EE\ip\tutorial\X12\runtime&gt;enq_850.bat
    D:\oracle\OraJ2EE\ip\tutorial\X12\runtime&gt;java oracle.tip.adapter.b2b.data.IPEnq
    ueue enq_850.properties
    IPEnqueue start...
    IPEnqueue end.
    D:\oracle\OraJ2EE\ip\tutorial\X12\runtime&gt;
    and its didn't showing anything in the t1.trc file generated on the globalchips server and same thing is happening when i am running enq_855.bat file on the globalchips server its not showing up anything in the trace file generated on the acme server.
    I have tried one thing that u have suggested for such kind of issue(t1.trc empty) in your forums
    1.) I have applied the patch #6673231 and it is showing the Document Routing Id Field in the B2B UI,but when i am completing all the process in B2B UI and running deq.bat file the result is still the same,the IPDequeue is not ending
    But a certain change has taken place after applying the pat
    D:\oracle\OraJ2EE\ip\tutorial\X12\runtime&gt;java oracle.tip.adapter.b2b.data.IPEnq+
    ueue enq_850.properties+
    IPEnqueue start...+
    Action Name = null
    IPEnqueue end.+
    D:\oracle\OraJ2EE\ip\tutorial\X12\runtime&gt;+
    C:\oracle\OraJ2EE\ip\tutorial\X12\runtime&gt;enq_855.bat+
    C:\oracle\OraJ2EE\ip\tutorial\X12\runtime&gt;java oracle.tip.adapter.b2b.data.IPEnq+
    ueue enq_855.properties+
    IPEnqueue start...+
    Action Name = null
    IPEnqueue end.+
    C:\oracle\OraJ2EE\ip\tutorial\X12\runtime&gt;+
    I Think that no action is taking place in both the cases
    bcoz its showing this Action Name = null+
    if that is the case what is the problem here
    I have also set oracle.tip.adapter.b2b.DocumentRouting=true.
    but the situation is still the same,please read the above problem carefully and suggest a solution which would be fruitful for my further progress.
    thanks
    sunny
    Edited by: user10470973 on Dec 16, 2008 10:43 AM
    Edited by: user10470973 on Dec 16, 2008 10:44 AM

  • Creating new BAT file script to stop, restart and disable S I agent

    We have just installed BOXI3 and are in the process of updating some bat files for stopping, restarting and failover (to our backup servers)and disable services on the Central Configuration Manager.   In my old scripts we called each service  Examples (
    sc
    servername.net config "bobjspcengine" start= disabled                    
    sc
    servername.net config "BOBJWebiServer" start= disabled)
    I have a few  questions
    1.  Server Intelligence Agent... Where would I find it's name   like the BOBJWebiServer example?
    2.  If my bat file stops this agent does that automatically stop the CMS, Webi, Report services?
    3. This is for our support team in order to easliy stop Tomcat and other services for failing over to our DR sites and backups since the script automatically stops,  starts, restarts disables and enable services..., is this the best approach?   We put these bat files out on the servers and all they do is click on them to start the failover process.

    Try using
    Process Monitor for looking the key.
    For example, you may set the required value through the group policy and see what windows registry keys are changed.

  • .bat file and .ini file

    I have a batch file with the following contents, I need to substitute the paths \\folder\projectname\formatter\saxon8\ with a variable using .ini file. Could anyone please tell me how do I do this
    @echo off
    cls
    echo.
    set CP=\\folder\projectname\formatter\saxon8\saxon8-jdom.jar;\\folder\projectname\formatter\saxon8\saxon8-sql.jar;\\folder\projectname\formatter\saxon8\saxon8sa.jar;\\folder\projectname\formatter\saxon8\saxon-license.lic
    ...If the path of the needed files gets changed in future, the user need to change the path only in the .ini file and that should reflect in the .bat file.
    Message was edited by:
    Simmy
    Message was edited by:
    Simmy

    I am reading the INI file in my code whose value C:\\temp\\ is getting displayed in my Batch file, but I need to display only the keyword Path in my Batch file. Can you please tell me what modifications I need to do in my code.
    This is the contents of my INI file
    [INI file : user.ini]
    Path="C:\\temp\\"
    The following is my code
        public void createFile()
            try
                p = new Properties();
                p.load(new FileInputStream("D:/user.ini"));
                JarPath=p.getProperty("Path");
                p.list(System.out);
            catch(Exception e)
                System.out.println(e);
            File file1=new File("D:/temp/ps1.bat");
            BufferedWriter bw1;
            try
                bw1=new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file1)));
                bw1.write("@echo off\n");
                bw1.write("cls\n");
                bw1.write("echo.\n");
                bw1.write("set CP="+JarPath+"saxon8-jdom.jar;"+JarPath+"saxon8-sql.jar;"+JarPath+"saxon8sa.jar;"+JarPath+"saxon-license.lic\n");
                bw1.flush();
            catch(IOException ioe)
                System.out.println("Error creating \"ps1.bat\". Process terminated.");
    Currently, the following is my Batch file contents
    @echo off
    cls
    echo.
    set CP=C:\temp\saxon8-jdom.jar;C:\temp\saxon8-sql.jar;C:\temp\saxon8sa.jar;C:\temp\saxon-license.lic
    But I need my Batch file to display
    @echo off
    cls
    echo.
    set CP=Path\saxon8-jdom.jar;Path\saxon8-sql.jar;Path\saxon8sa.jar;Path\saxon-license.lic

  • Running .bat files

    Hello,
    I recently uninstalled my Google Chrome to then reinstall it. Ever since, I have .bat files that used to open in Windows Explorer that now open new tabs in Google Chrome. How do I stop that from happening? I want the .bat files to open in Windows Explorer
    just like before. I already tried adding the batfile zip folder (that you guys created) in the registry and no change.
    Thanks in advance for the help.

    Could you please tell us the function of these .bat files? What application are these .bat files will launch? I suggest you check the default "open method" of these applications.
    Click Control Panel>Default Program, then set your default programs.
    Regards
    Yolanda
    TechNet Community Support

  • Lost .bat file association

    I have made the unfortunate mistake of associating .bat file extension to a notepad utility. This is no good as batch files do not run as they should but open up in the notpead utiltiy to be edited. How can i reassociated the .bat file extension to the appropriate windows function to get it to run as it should?

    Hi HorsHack,
    I need a translator plix pl0x lol
    got 70 % of what you said!
    w8 a minute lemme google it and brb..
    Humer(tot it was written Humor nevermind),misconstrued(got it after google it lol)
    Ok that is actually a real suggestion ,i was not playing with it ,changing that it basically changes the Merge behaviour of windows registry...
    so after altering that entry when you click on .reg files they open in text mode and wont merge it,this is a security measure to avoid registry silent installations(of course u can even via GPO prevent any registry tools from opening),so if you want to merge some entries,all u need to do is switch back to regedit.exe and afterwards get back to notepad.exe just to keep u safer....
    so i was not playing when i suggested that ^^
    NOTE: changing that wont prevent registry from opening,just prevents .reg files from merging,to prevent windows registry from runnning just do it via Group policy object and then when u want to open windows registry just turn it off ,make the desired changes then enable the prevention again ^^
    i think those are some reasonable advices so if you guys want to take it feel free !!!
    All my best,
    RR

  • Trying to Deploy either a .cmd or .bat file to update a registry Entry but not working

    Hello.
    I'm trying to deploy either a .cmd or .bat file to a few computers to update the registry and When I run the .cmd or .bat on the pc manually it works just fine. However when I create an application and try to deploy to the computers I keep getting the error
    "The application was not detected after installation completed."
    When I login to that computer I can tell that the file has not been run as none of the reg settings are changed
    In the application properties I have tried cmd.exe "RegUpdate.cmd" and regedit /s "RegUpdate.cmd" and same result. Any ideas?

    I have an application that has some different options for its configuration which all populate the registry.  The application has a option that when you set all the options like you want them you can click save as and it creates the .cmd file for you
    with all the registry settings.
    .cmd contents below:
    @echo off
    set SYSOPTS=%TEMP%\SysOpts.reg
    set REGSWROOT=SOFTWARE
    if [%PROCESSOR_ARCHITECTURE%]==[AMD64] set REGSWROOT=SOFTWARE\Wow6432Node
    echo REGEDIT4 > %SYSOPTS%
    echo. >> %SYSOPTS%
    echo [HKEY_LOCAL_MACHINE\%REGSWROOT%\GeoGraphix\Tools\ProjectManager] >> %SYSOPTS%
    echo @="List service communication parameters" >> %SYSOPTS%
    echo "AllowIn"=dword:00000000 >> %SYSOPTS%
    echo "SeeOut"=dword:00000001 >> %SYSOPTS%
    echo "Concurrent"=dword:00000000 >> %SYSOPTS%
    echo "ServiceStopType"=dword:00000002 >> %SYSOPTS%
    echo "Protocol"=dword:00000002 >> %SYSOPTS%
    echo "AllowNotifyReceive"=dword:00000000 >> %SYSOPTS%
    echo "BroadcastType"=dword:00000002 >> %SYSOPTS%
    echo "BroadcastAddr2"=hex(7):74,75,6c,67,67,78,2e,53,54,4d,2e,41,44,00,74,75,6c,67,67,78,32,2e,53,54,4d,2e,41,44,00,74,75,6c,67,67,78,33,2e,53,54,4d,2e,41,44,00,00, >> %SYSOPTS%
    echo. >> %SYSOPTS%
    echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SQLANYs_GGX\Parameters] >> %SYSOPTS%
    echo "Parameters"="-n GGX_%COMPUTERNAME% -x TCPIP -xs HTTP(PORT=13386) -ti 0 -ch 15p -gd ALL -gp 8192" >> %SYSOPTS%
    echo "ClientParameters"="-x TCPIP(IP=#SERVER_ADDRESS#;PORT=#SERVER_PORT#)" >> %SYSOPTS%
    echo. >> %SYSOPTS%
    echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\GGX List Service (v2)] >> %SYSOPTS%
    echo "Start"=dword:00000003 >> %SYSOPTS%
    echo. >> %SYSOPTS%
    echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\GGX Network Access Service] >> %SYSOPTS%
    echo "Start"=dword:00000003 >> %SYSOPTS%
    echo. >> %SYSOPTS%
    echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SQLANYs_GGX] >> %SYSOPTS%
    echo "Start"=dword:00000003 >> %SYSOPTS%
    %windir%\regedit.exe /s %SYSOPTS%
    del /f %SYSOPTS%
    set SYSOPTS=

  • 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

Maybe you are looking for