Which is the best way to remotely access command shell(cmd) of a remote system. I need to run certain command line applications in my office system from home? Is there any platform independent tool to do it, eg to access windows command prompt of office computer from linux machine at home.
It sounds like your best bet would be SSH. There are several options available for installing it on Windows, see here for a good article summarising them.
You could also use Cygwin and set up its openssh package from within it. This will provide you with a bash shell available remotely. For your purposes though, the previous option would probably suit you better as you will be able to access the traditional windows cmd prompt.
It looks like PowerShell might be your best option. There was a similar question asked on StackOverflow a while back.
Sysinternal's PSExec (part of PSTools) allows a command line to be executed remotely (or in a different session locally). This is not interactive however.
I haven't tried this yet on Linux, but have a look on Hamachi. It will allow to configure a VPN which will allow you to establish connection via the Internet.
psExec \\computer cmd.exe
netcat (Cygwin and several ports to Windows are available) can also do it. Run this on the remote machine:
nc.exe -l -p6969 -d -e cmd.exe -L
And this on your local:
nc.exe 192.168.1.1 6969
IPs and ports are just examples. Also check Ncat, which claims to be an improved and up-to-date version of Netcat.