🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #1596

Ayuda BATCH

#1596
From: +mArkO+
Date: Thu, 13 Jul 2006 20:31
17 lines
1261 bytes
alguien puede ayudarme con este batch?
la idea es que me muestre en pantalla los archivos jpg de esta forma
1__nombre.jpg
2__archivo.jpg
3__blablabla.jpg

alguna orientacion sobre mi error por favor, ya que me muestra los archivos
,pero nose incrementa la var num


@echo off
set /A num=0

for %%i in (*.jpg ) do (
  set /A num=%num%+1
  echo %num%__%%i
)
Technical Details
Message-ID: <e96aio$h37$1@news.nivel5.cl>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!nntp-server.pubsub.com!news.nivel5.cl!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,229a57d674b0914e,start
X-Google-Attributes: gid1593cb,public
X-Google-Language: SPANISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!nntp-server.pubsub.com!news.nivel5.cl!not-for-mail
From: "+mArkO+" <NOSPAMjoin.xtc@gmail.comNOSPAM>
Newsgroups: chile.comp.programacion
Subject: Ayuda BATCH
Date: Thu, 13 Jul 2006 16:31:16 -0400
Organization: Varios
Lines: 19
Message-ID: <e96aio$h37$1@news.nivel5.cl>
Reply-To: "+mArkO+" <kitim@porta.com>
NNTP-Posting-Host: pc-208-191-239-201.cm.vtr.net
X-Trace: news.nivel5.cl 1152822682 17511 201.239.191.208 (13 Jul 2006 20:31:22 GMT)
X-Complaints-To: news@news.nivel5.cl
NNTP-Posting-Date: Thu, 13 Jul 2006 20:31:22 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441