Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


[Help] excel macro to execuatble TCL error sourcing

[Help] excel macro to execuatble TCL error sourcing

[Help] excel macro to execuatble TCL error sourcing


I am trying to use excel macro to run a Tcl program. the Tcl program will edit the Testinput.scv and save into Systemverilog file
first I used the 2nd method on http://wiki.tcl.tk/11861 to wrap the "test.TCL" into a executable program, "test.EXE", when I double click the test.exe, it is able to work perfectly.(run Test.tcl, source Testinput.scv and then out a SystemVerilog file)
However, when I open test.exe from the excel macro, it does not work anymore, it says "Error sourcing C:/../Test.tcl: couldn't open "TestInput.csv": no such file or directory () 1 %"

I am able to run other exe file on macro, ex. notepad, pdf, modelsim, but it does not work for Test.exe , i don't know it is a excel problem or a tcl problem. somehow they work independently but now together. Can anyone help me why is that and how could I possibly fix it. Thank you so much and your help is very much appreciated.

my macro is just simply, Shell("C:\....\Test.exe")

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close