Hey all~ I was just wondering.. Is it possibal for my app to run a disk scan to look for the files that I had put into each location? Like if i wanted to install it onto several other computers that may have altered settings i just run a scan and the program automatically updates each command like
Shell("C:\windows\notepad.exe", AppWinStyle.NormalFocus)
Lets say that was installed on the H Drive.. It would update that code to allow it to run it from there.. Am I making any sense? Mind you this is just a personal project of mine.. I can manually update those locations but it'd be nice to learn how to auto update the filepaths. ^.^

Member Avatar for iamthwee

Yes it's called using variable instead of hard coding the filepath.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.