How to include a module from a specific path directory in REPL of VS Code?

Why do you use a relative path?
Just use the full path:

include("C:\\Work\\Julia\\Simulation\\SynchronousMachine\\SynchronousMachines.jl")

If you want to use a relative path, you need to check

pwd()

to see where you are. Or you set your current path explicitly with:

cd("C:\\Work\\Julia\\Simulation\\SOME_PATH...")
1 Like