Hello! I'm developing a computer program in which I have to code some batch, and I need it to run a python script which is in the folder. But it always returns 'No such file in directory' at first I was like 'WTF?' but 30 seconds later I realized that it's because I thought that the cd would automatically be set to the folder that the file was in, but it's not. NOTE: That the program is going to run on different comptuers so I was wondering what system variables to use. Can somebody please help, I don't want to have to spend three hours on google to find out everything.
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.