Forum Discussion
Altera_Forum
Honored Contributor
13 years agorelative path in a do file
hello i am a beginner in modelsim i want to use relative path in do file but it doesn't work my os is windows xp my relative path is : vcom -work Work_Project ../../SRC/A_Interface.vhd ...
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- to change the drive, you type: cd c: to change directory cd /directoryA/directoryB the first slash essentially means "root" and on windows that means whatever drive you're currently on. --- Quote End --- the question is "how can i obtain path of the .do file that is running?" i need a command to tell me what is the full path.