elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Tutorial básico de Quickjs


+  Foro de elhacker.net
|-+  Programación
| |-+  Scripting
| | |-+  Necesito Expertos en BATCH
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: 1 [2] Ir Abajo Respuesta Imprimir
Autor Tema: Necesito Expertos en BATCH  (Leído 9,732 veces)
123WAYO

Desconectado Desconectado

Mensajes: 17


Ver Perfil
Re: Necesito Expertos en BATCH
« Respuesta #10 en: 29 Marzo 2011, 23:47 pm »

Una preguntita!! Pero si yo uso el compilador BAT TO EXE también los datos siguen visibles aunque ponga los directorios temporables invisibles???


En línea

leogtz
. . .. ... ..... ........ ............. .....................
Colaborador
***
Desconectado Desconectado

Mensajes: 3.069


/^$/


Ver Perfil WWW
Re: Necesito Expertos en BATCH
« Respuesta #11 en: 29 Marzo 2011, 23:52 pm »

Sí, alguien con un minimo de conocimientos puede acceder a los datos.


En línea

Código
  1. (( 1 / 0 )) &> /dev/null || {
  2. echo -e "stderrrrrrrrrrrrrrrrrrr";
  3. }
  4.  
http://leonardogtzr.wordpress.com/
leogutierrezramirez@gmail.com
123WAYO

Desconectado Desconectado

Mensajes: 17


Ver Perfil
Re: Necesito Expertos en BATCH
« Respuesta #12 en: 29 Marzo 2011, 23:54 pm »

MMM PERO NO IMPORTA, AQUI LAS PERSONAS DE MI TRABAJO CON COSTO SABEN UTILIZAR wORD, eXCEL, pOWER pOINT JA JA JA JA TU CREES QUE PUEDAS AYUDARME CON UN EJEMPLO???
En línea

leogtz
. . .. ... ..... ........ ............. .....................
Colaborador
***
Desconectado Desconectado

Mensajes: 3.069


/^$/


Ver Perfil WWW
Re: Necesito Expertos en BATCH
« Respuesta #13 en: 30 Marzo 2011, 00:01 am »

¿Pudiste correr el WBAT?
En línea

Código
  1. (( 1 / 0 )) &> /dev/null || {
  2. echo -e "stderrrrrrrrrrrrrrrrrrr";
  3. }
  4.  
http://leonardogtzr.wordpress.com/
leogutierrezramirez@gmail.com
123WAYO

Desconectado Desconectado

Mensajes: 17


Ver Perfil
Re: Necesito Expertos en BATCH
« Respuesta #14 en: 30 Marzo 2011, 08:14 am »

No no pude :(
En línea

123WAYO

Desconectado Desconectado

Mensajes: 17


Ver Perfil
Re: Necesito Expertos en BATCH
« Respuesta #15 en: 30 Marzo 2011, 08:21 am »

Una pregunta mas... :)
Es que creo que ya lo pregunté pero nadie me supo decir :(
En mi trabajo no hay impresoras de Matriz de Puntos y los batch solo imprimen en este tipo de impresoras, hay alguna manera que yo pueda imprimir (comando print) desde un archivo bat a una impresora laser (No de Matriz de Puntos) por ejemplo a una Epson que está conectada directamente en mi computadora o mejor aún a una impresora Laser que se encuentra en la red????
Gracias por su ayuda y comentarios!!!!
En línea

SuperDraco


Desconectado Desconectado

Mensajes: 2.505


Crew Dragon


Ver Perfil
Re: Necesito Expertos en BATCH
« Respuesta #16 en: 30 Marzo 2011, 16:32 pm »

No se si es esto lo que buscas, porque no lo he probado, pero parece ser que con este programa configuras una impresora de red como predeterminada, y luego puedes imprimir :/




Código:
CON2PRT [ /? | /h | /f | [/c \\printserver\share | /cd \\printserver\share]+]
where:
/? - displays usage
/h - displays usage
/f - deletes all existing printer connections
/c - connects to printer at \\printserver\share
/cd - connects to printer at \\printserver\share and sets it as the default printer

Any number of /c and /cd parameters can be specified. However, only the first /cd sets the specified printer as the default.

Use Net View \\printserver to determine available print shares.

Descarga:
http://download.microsoft.com/download/2/6/0/260afc88-2253-45f8-9781-546cff07edd9/zak.exe



Aqui tienes más info:
http://support.microsoft.com/kb/181663





Aqui más:
The Con2prt.exe tool is a command-line utility for adding or removing network printers on Windows NT-based computers.
This tool can only configure NT based computers. A different method for Win2K computers is listed after the NT instructions.
Con2prt.exe is included with the Zero Administration Kit for Windows NT 4.0.
You can use the Con2prt.exe tool in a Windows NT login script or in conjunction with an unattended setup of Windows NT.
To install a network printer with the Con2prt.exe tool, you can either:
Run the Con2prt.exe Tool from a Login Script-

Use the Con2prt.exe tool to connect to a network printer in a Windows NT login script. To do so, follow these steps:
Copy the Con2prt.exe tool to the %SystemRoot% folder of the Windows NT-based client computer.
Configure your Windows NT login script to run the Con2prt.exe tool.
NOTE: You can display the command-line switches for the Con2prt.exe tool by typing "con2prt /?" or "con2prt /h" (without quotation marks).

Or run the Con2prt.exe Tool from a Batch File on the Distribution Share-

Use a batch file located in the $$ folder of your Windows NT Setup distribution share to run the Con2prt.exe tool.
You can automate the installation of the batch file with the tools used for an unattended installation of Windows NT.
To do so, follow these steps:

Copy the Con2prt.exe file to the $$ folder that is located in the $OEM$ folder of your Windows NT Setup distribution share.
Create a batch file in the $$ folder that runs the Con2prt.exe tool.

NOTE: Files located in the $$ folder of the distribution share are copied to the %SystemRoot% folder of the Windows NT-based client computer during Windows NT Setup.
Confirm that your Unattend.txt file contains the following entry in the [unattended] section:
OEMPreInstall = yes
Configure your Cmdlines.txt file to run a registry file that places the command to run your batch file in the Run key of the registry on the Windows NT-based client computer.

NOTE: You cannot run the Con2prt.exe tool directly from the Cmdlines.txt file.

For W2000 clients printing from an NT server:

This command only runs on a Windows 2000 computer against a Windows 2000 or a Windows NT 4.0 server or workstation.

This example adds an Agfa printer driver and creates a logical printer on a computer named SERVER.
NOTE: Both lines can be placed in a batch file or typed after each other at a command prompt. These two lines are wrapped for readability.

rundll32 printui.dll,PrintUIEntry /ia /c\\server /m "AGFA-AccuSet v52.3" /h "Intel" /v "Windows 2000" /f %windir%\inf\ntprint.inf

rundll32 printui.dll,PrintUIEntry /if /b "Test printer" /c\\SERVER /f "%windir%\inf\ntprint.inf" /r "lpt1:" /m "AGFA-AccuSet v52.3"

This example deletes an AGFA printer on a computer named SERVER:

rundll32 printui.dll,PrintUIEntry /dl /b "Test Printer" /c\\SERVER

For more information about the available switches, type /? after the command.

In addition, at a command prompt, type:
rundll32 printui.dll,PrintUIEntry /?

The preceding command displays the entire list of usage switches with extensive examples for using this method.

If this is of any help, good luck. Otherwise, good luck.




Si no te sirve, puedes pasarte por mi post:
http://foro.elhacker.net/scripting/batch_packs_de_aplicaciones_varias_para_usar_en_batch_actualizado_30marzo-t322976.0.html

Y mira en los enlaces de abajo del todo, en algún resource kit seguro que esta algo que te ayude...
En línea

No he vuelto, solo estoy de paso.
bolivianito

Desconectado Desconectado

Mensajes: 41



Ver Perfil
Re: Necesito Expertos en BATCH
« Respuesta #17 en: 30 Marzo 2011, 16:52 pm »

Citar
Te quería poner esos ejemplos, no creo que se pueda hacer mucho más
Manejandote un poco mas con colous, puedes hacerlo mas visual todavia, hasta hacer la GUI de Visual Basico de DOS.

Buscalo por el foro, se llama GUIC, pero está lleno de errores, asi que recomiendo hacerlo de 0 jaja  :-\
« Última modificación: 30 Marzo 2011, 16:55 pm por bolivianito » En línea

Páginas: 1 [2] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
necesito ayuda con doble redireccion batch
Scripting
Nanoc 2 3,388 Último mensaje 24 Febrero 2008, 22:04 pm
por Nanoc
necesito ayuda con doble redireccion batch
Scripting
Nanoc 0 2,135 Último mensaje 24 Febrero 2008, 20:52 pm
por Nanoc
necesito ayuda en batch
Scripting
blha 1 2,176 Último mensaje 24 Diciembre 2008, 11:26 am
por Novlucker
Ayuda con wordpres!! SPAM BOTS... necesito ayuda de "expertos"
Desarrollo Web
XXXXXX 8 3,738 Último mensaje 21 Noviembre 2010, 13:19 pm
por XXXXXX
Necesito un batch
Scripting
alsevian 5 3,078 Último mensaje 1 Septiembre 2023, 07:14 am
por Elektro Enjuto
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines