Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

2007/05/08

windows XP: logon / logout scripts

ok dani, MUCHAS gracias! funciono perfecto
slds

On May 7, 10:40 am, "Dani" wrote:

> Con el editor de politicas puedes lanzar comandos en el inicio / cierre de
> sesion, si es xp pro abrelo

start -> run -> gpedit.msc -> user configuration -> windows settings -> scripts (logon/logoff)

"rhXX" escribió en el mensaje

> > existe algun campo en los registros que me permita introducir la
> > corrida de un programa cuando se cierra el windows?
>
> > es decir el equivalente para el startup de incluirlo en este registro:
>
HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\Windows\CurrentVersion\RunOnce

2007/04/05

empty RECYCLE BIN without dialog

-----
Ramón Sola / ramonSello.s...@Sellomvps.org / MVP Windows - Shell/User
Este pequeño programa te puede servir:
http://www.odi.ch/prog/emptybin.php

Al ejecutarlo se vacía la papelera sin confirmación, ventana de progreso ni
sonido.

----

from: http://www.odi.ch/prog/emptybin.php

// emptybin.cpp : Defines the entry point for the application.
//

#include "stdafx.h"
#include

int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
SHEmptyRecycleBin(NULL,NULL,SHERB_NOCONFIRMATION | SHERB_NOPROGRESSUI | SHERB_NOSOUND );
return 0;
}


tks to all, ramon, odi, ...