0

This code doesn't work in some computer why? It just run program without file. I checked file and application path there is no problem.

start "" "C:\Program Files\SOLIDWORKS Corp\eDrawings\eDrawings.exe" "C:\....\220061300.SLDASM"
mesyen
  • 87
  • 1
  • 8
  • 1
    "Doesn't work" is a terrible problem description. – Gerhard May 12 '22 at 10:27
  • I want to do this; https://stackoverflow.com/questions/10132381/batch-open-a-specific-file-in-a-specific-program When ı run batch file at other computer eDrawings.exe opening but file not – mesyen May 12 '22 at 10:39
  • There are two possibilities: A) the executable doesn't take arguments (obviously not your issue, as it runs on some computers) or B) There is no such file at the given location (missing, misspelt or at another location) – Stephan May 12 '22 at 11:19
  • @Stephan B) Is %100 ok, I am sure. – mesyen May 12 '22 at 11:41
  • C) different versions of the executables where one does support the argument and the other doesn't (very unlikely though) – Stephan May 12 '22 at 12:01
  • Do me a favour, so I can see the file for myself. Open `cmd` and run the following exactly as is, but update path to actual file. `dir "C:\....\220061300.SLDASM"` show me the output of the command. – Gerhard May 12 '22 at 21:20
  • Here is the result; https://ibb.co/xXq3Wp2 – mesyen May 13 '22 at 11:03

0 Answers0