Solved

Make Shell program

Posted on 2003-11-09
5
307 Views
Last Modified: 2010-04-17
I want to make a shell program to replace windows explorer,  But , I don't know how to make tray taskbar,  That's mean the tray icon will send which message to me and how I respond this message.   Would u please give me some code. Thanks
0
Comment
Question by:cookey
5 Comments
 
LVL 48

Expert Comment

by:AlexFM
ID: 9713082
0
 
LVL 5

Accepted Solution

by:
Daij-Djan earned 125 total points
ID: 9716384
the tray MUST be run before any other shell and preferably also before your launch service is started.
checkout www.geoshell.com and get it source
0
 

Author Comment

by:cookey
ID: 9752822
AlexFM, I can't open your URL.

Daij-Djan,hello, I 'm checking code now, Thanks
0
 
LVL 48

Expert Comment

by:AlexFM
ID: 9754666
http://www.codeguru.com/shell/systemtray.shtml

The same article in another site. CodeProject is sometimes unavailable, however, this article in the CodeProject is more up-to-date.
0
 

Expert Comment

by:TreeSkier
ID: 10351622
Hi

 i write this code,it work fine.User created with this script but unable to login with user/password.I find that /etc/shadow don't get appropirate password like md5.

#!/bin/sh
NEW_USERS="user.txt"
HOME_BASE="/home/"

cat ${NEW_USERS} | \
while read USER PASSWORD GROUP
do
  useradd -g ${GROUP} -p ${PASSWORD} -m -d ${HOME_BASE}${USER} ${USER}
done

Q. How solve this problem because i'v to create user with shell script and put it into cron tab for 1 minute.

Pls tell me ASAPi

Dharm
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now