Hi all

I recently made a small calculator program and I was wondering how would I set the path so when I just enter "calc" then the calculator program would start without me having to enter

cd calc
./calc

I have googled but the tuorials tell me to direct it to
eg
% set path = ($path ~/calc/bin)

but I dont have a bin in my calc directory all that is in it is the executable and the source code for future use. Can someone please explain how to do it please?

Cheers

HLA91

how about
% set path = ($path;.)

Thanks its all done now

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.