---
title: "Patch i FSO"
type: "forum-thread"
url: "https://www.webforum.nu/amne/asp/169586-patch-i-fso"
topic: "ASP"
topic_url: "https://www.webforum.nu/amne/asp"
author: "Tcip"
published: "2008-03-03T17:46:55.000Z"
updated: "2008-03-04T09:45:31.000Z"
replies: 2
views: 333
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/asp/169586-patch-i-fso"
---

# Patch i FSO

## #1 — Tcip, 2008-03-03T17:46Z

Hej,

jag har en funktion som listar alla filer i en mapp. Jag vill få "patch" till varje enskild fil. Den fullständiga vägen till file, hur gör jag?

```
<%
set fso = server.createobject("scripting.filesystemobject")
set folder = fso.getFolder(server.mappath("bilder"))
set files = folder.files
for each Item in files

response.write "<a href ='bilder/"& Item.name &"'><img border = '0' align = 'middle' width = '100' src ='bilder/"& Item.name &"'></a> "& Item.name &" <br>"

Next

set folder = nothing
set fso = nothing
set files =nothing
%>
```

Permalänk: https://www.webforum.nu/p/169586

## #2 — colione, 2008-03-03T18:06Z

Du menar path och inte patch antar jag?

```
file.Path
```

Permalänk: https://www.webforum.nu/p/2086091

## #3 — Tcip, 2008-03-04T09:45Z

Det hade underlättar om jag stavade rätt på kommandot :p

Permalänk: https://www.webforum.nu/p/2086189

---

Tråden på webben: https://www.webforum.nu/amne/asp/169586-patch-i-fso
