Solved

Make Shell program

Posted on 2003-11-09
5
308 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Excel object stays open 19 70
control image tags in a string ? 12 108
When i run adoquery my application freezes 26 150
C# DataGridView_RowsAdded event not firing 1 63
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

948 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

18 Experts available now in Live!

Get 1:1 Help Now