Jump to content
Sign in to follow this  


Recommended Posts

I'm having a little trouble understand specifically the parameters to throw after @Comspec.

Navigate to a folder with "cd C:\TASM\BIN" then add another parameter that says "Tlink File.asm"

2 commands i need to be put in but am failing to do so

"cd C:\TASM\BIN"

"Tlink C:\TASM\BIN\FILE.asm"

#include <GUIConstants.au3>

$Form1 = GUICreate("TASM Compiler", 236, 101, 193, 115)
$select = GUICtrlCreateButton(".asm File", 0, 8, 81, 25, 0)
$path = GUICtrlCreateInput("", 88, 8, 137, 21)
$compiledpath = GUICtrlCreateInput("", 8, 72, 217, 21)
$Label1 = GUICtrlCreateLabel("Path To Compiled Program", 32, 48, 130, 17)
While 1
    $msg = GUIGetMsg()
        Case $msg = $GUI_EVENT_CLOSE
        Case $msg = $select
            $file = FileOpenDialog("Select ASM File For TASM to Compile","","ASM Files (*.asm)")
            RunWait(@ComSpec & "/cd","C:\TASM\BIN")
Edited by thatsgreat2345

Share this post

Link to post
Share on other sites

Autoit Wrappers has a Comspec catagory




cant believe i didnt find that

RunWait(@ComSpec & ' /c ' & ' Tlink C:\TASM\BIN\FILE.asm ', 'C:\TASM\BIN')

who needs cd when you just set the stupid active directory to C:\TASM\BIN already hahahah

thanks to you to dabus made me think as well when i ran your script that the second parameter is indeed working directory so no need for cd

Edited by thatsgreat2345

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...