Configure a Telemac command prompt

Follow the steps below if for some reason the command prompt that was installed on your Desktop (Telemac_v8p0.exe) using the opentelemac-mascaret automatic installer disappears or gets accidentally erased.

  1. Right-click on an empty spot on your Desktop.

  2. Select New->Shortcut.

  3. When prompted for "Type the location of the item", enter: C:\Windows\System32\cmd.exe /F:ON /E:ON /V:ON /K set SYSTELCFG=C:\opentelemac-mascaret\v8p0\configs\systel_v8p0.cfg, then click on "ok".

  4. When prompted, type a distinct name to help you remember what the shortcut is for (e.g., Telemac_v8p0.exe).

  5. Then add an entry for C:\opentelemac-mascaret\v8p0\scripts\python27 to your user's Path variable in Environment Variables (search for Environment Variables in the Start bar).

  6. After, click on the newly created short-cut and navigate to a folder containing a working Telemac case file (e.g. by typing this in the commandline: cd C:\opentelemac-mascaret\v8p0\examples\telemac2d\hydraulic_jump) and then type telemac2d.py t2d_hydraulic_jump_v1p0.cas to see if everything works correctly.

  7. An extra (recommended) optional step is to configure the newly created short-cut to open by default in a directory of your choosing. To do this, right-click on the newly created shortcut and type the path to a directory of your choice (e.g., C:/Users/YourUserName/Desktop/YourTelemacSimulationFolderName). The shortcut will open to this folder each time you click on it, allowing you to save the time and annoyance of having to navigate to it each time.

Troubleshooting: If you do the above steps and you get an error that saves telemac2d.py is not recognized as an internal or external program, check that you do not have C:\opentelemac-mascaret\python27 in your User Path. I was troubleshooting my opentelemac-mascaret installation a while back and accidentally left C:\opentelemac-mascaret\python27 in my path. I was getting above mentioned error until I removed C:\opentelemac-mascaret\python27 from my path.

Previous
Previous

Installing Open Telemac-Mascaret on Windows 10

Next
Next

Telemac2D tutorials